A lightweight, open-source backend service for tracking real-time cryptocurrency and stock market prices. This project is built to be minimal, modular, and easy to extend — perfect for dashboards, alerts, portfolio tools, or IoT displays.
This project provides a simple backend that:
Fetches live market prices for selected cryptocurrencies and stocks.
Uses environment variables for API keys and configuration.
Has a clean file structure (server.js, prices.js, cache.js, etc.).
Can be paired with any frontend (React, Next.js, HTML, Flutter, etc.).
Acts as a foundation for more advanced financial tracking tools.
If you want a customizable, open-source market data tracker to build your own app, dashboard, or monitoring system — this project is a great starting point.
Real-time crypto and stock price fetching.
Modular architecture for easy scaling.
Simple caching layer for improved performance.
Supports unlimited asset expansion.
Easy integration with frontend or IoT devices.
API-key protected environment setup.
Node.js
Express.js
JavaScript
External Market Data APIs
dotenv for environment configuration
1.> Clone the Repository git clone https://github.com/YATIN072007/OPENSOURCE_Crypto-Stock-Market-Tracker.git cd OPENSOURCE_Crypto-Stock-Market-Tracker
2.> Install Dependencies npm install
3.> Environment Setup Create a .env file in the root directory: API_KEY=your_api_key_here CRYPTO_LIST=BTC,ETH,SOL STOCK_LIST=AAPL,TSLA,MSFT
4.> Start the Backend npm start OR node server.js
5.> Live Tracking Once running, the backend will: Fetch prices at your defined intervals Print the data in the console Expose endpoints for frontend usage (if enabled)
server.js - Main backend server prices.js - Fetches and processes real-time prices cache.js - Optional caching module .env.example - Example environment file package.json - Node metadata and script definitions README.md - Project documentation This structure is intentionally simple so you can extend it however you want.
Possible future additions:
A full frontend dashboard
Price alerts (SMS, email, push notifications)
Portfolio tracking
Historical data storage & graphing
WebSocket live price updates
IoT market indicators (LEDs, motors, ESP32 displays, etc.)
Contributions are welcome! To contribute:
Fork the repository
Create a feature branch
Commit with clear messages
Open a pull request
This project is licensed under the MIT License. You are free to use, modify, and distribute it.
Thanks to the open-source community and public market-data APIs that make this project possible. If you build a dashboard, IoT display, or full application using this tracker, feel free to share it!