{"repo":"ajaymahadeven/crypto-order-book","free":true,"listed":false,"github":"https://github.com/ajaymahadeven/crypto-order-book","clone":"git clone https://github.com/ajaymahadeven/crypto-order-book.git","description":"This is a real-time order book visualization application for cryptocurrency trading. It uses a WebSocket connection to fetch live order book data from a mock Websocket and displays the top 5 bids and asks for the selected cryptocurrency and exchange. (Initial data load may take a few moments due to WebSocket cold start)","language":"TypeScript","stars":13,"topics":["cryptocurrency","cyrpto","data-visualization","finance","order-book","real-time","t3-stack","trading","websocket","learn"],"license":null,"category":"blockchain-web3","readme_excerpt":"Order Book Real-time crypto order book depth for BTC, ETH, XRP, LTC, and DOGE. Live top-of-book bid/ask prices, spread, daily stats, order depth ladder, and subreddit news — all in a single-page UI. Live: order-book-one.vercel.app --- Stack Layer Technology --------- ---------------------------------------- Framework Next.js 16 (App Router) Language TypeScript 5 API tRPC v11 + React Query v5 Database PostgreSQL via Prisma 5 Styling Tailwind CSS + shadcn/ui Live data WebSocket (custom Node.js server) Hosting Vercel (app) + separate Node server (WS) --- Features - Live order book — best bid, best ask, spread, and a 5-level depth ladder per pair - Daily stats — max/min bid and ask since midnight, snapshot count - Coin detail panel — click any row to drill into a coin with full stats and news - News — latest posts from each coin's subreddit (Reddit public JSON, no API key) - Light / dark theme — toggle persisted in localStorage , defaults to light - Auto-cleanup cron — Vercel cron deletes DB records older than 7 days daily at 02:00 UTC - PWA-ready — manifest, generated favicon, OG image, full SEO metadata --- Project Structure Both repos need to be running for the full experience. The WebSocket server simulates realistic order book data for all five pairs and broadcasts every 500 ms. --- Getting Started Prerequisites - Node.js 20+ - PostgreSQL database (local or hosted — Neon free tier works) 1. Clone 2. Environment Edit .env : 3. Install & migrate 4. Start the WebSocket server T","default_branch":null,"files":null,"tree":[],"storefront":"/r/ajaymahadeven","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ajaymahadeven/crypto-order-book/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}