A modern cryptocurrency tracking application with real-time data from CoinGecko API.
- Real-time cryptocurrency price tracking
- Historical price data visualization
- Market cap and volume information
- Responsive design with dark/light mode
- Redis caching for optimal performance
- Rate limiting protection
- Docker and Docker Compose
- Node.js 18+ (for development)
- pnpm (for development)
-
Clone the repository:
git clone <repository-url> cd coinlens
-
Run the application:
./start.sh
This will:
- Check for Docker and Docker Compose
- Set up environment variables
- Start the backend and Redis containers
- Start the frontend development server
-
Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:3001
- API Documentation: http://localhost:3001/api-docs
cd Frontend
pnpm install
pnpm devcd Backend
pnpm install
pnpm devThe application uses the following environment variables:
NEXT_PUBLIC_API_URL=http://localhost:3001
PORT=3001
NODE_ENV=development
COINGECKO_API_KEY=your_api_key_here
REDIS_URL=redis://redis:6379
Once the backend is running, visit http://localhost:3001/api-docs for detailed API documentation.
- Frontend: Next.js 15 with App Router
- Backend: Node.js/Express with TypeScript
- Database: Redis for caching
- API: CoinGecko API for cryptocurrency data
MIT