A real-time cryptocurrency price tracking application built with Next.js, Node.js, and Playwright for scraping TradingView data. This full-stack application provides live price updates for various cryptocurrencies with a modern, responsive UI.
- Real-time Price Streaming: Live cryptocurrency prices scraped from TradingView
- Dynamic Ticker Management: Add and remove cryptocurrency tickers on the fly
- Modern UI: Clean, responsive interface with dark/light theme support
- WebSocket Communication: Low-latency real-time updates
- Scalable Architecture: Efficient resource sharing for multiple concurrent clients
- TypeScript: Full type safety across frontend and backend
- Playwright Integration: Automated browser scraping with visual feedback
- Next.js 15 - React framework with App Router
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first styling
- Framer Motion - Smooth animations
- ConnectRPC - Type-safe API communication
- React Query - Data fetching and caching
- Node.js - JavaScript runtime
- Express - Web framework
- Playwright - Browser automation for scraping
- WebSocket - Real-time communication
- ConnectRPC - gRPC-like API framework
- TypeScript - Type-safe development
- pnpm - Fast, disk space efficient package manager
- ESLint - Code linting
- Concurrently - Run multiple processes
- nodemon - Development server auto-restart
- Node.js >= 18.0.0
- pnpm >= 8.0.0
- Git (for cloning)
-
Clone the repository
git clone https://github.com/yourusername/crypto-price-tracker.git cd crypto-price-tracker -
Install dependencies
pnpm install --recursive
-
Start the application
./run.sh
Note: For Windows users, use
pnpm devinstead -
Open your browser Navigate to http://localhost:3000
If you prefer to run the services separately:
-
Start the backend
cd backend pnpm dev -
Start the frontend (in a new terminal)
cd frontend pnpm dev
- Add Tickers: Enter cryptocurrency symbols like
BTCUSD,ETHUSD,SOLUSD - View Prices: Watch real-time price updates streamed from TradingView
- Remove Tickers: Click the remove button to stop tracking specific cryptocurrencies
- Theme Toggle: Switch between light and dark themes
- Responsive Design: Works seamlessly on desktop and mobile devices
The application supports all cryptocurrency tickers available on TradingView. Popular examples:
BTCUSD- BitcoinETHUSD- EthereumSOLUSD- SolanaADAUSD- CardanoDOTUSD- Polkadot
pnpm install:all- Install all dependenciespnpm dev- Start both frontend and backendpnpm build- Build for productionpnpm lint- Run ESLint
This project is licensed under the MIT License - see the LICENSE file for details.
Suman Madipeddi
