A web application to track Bitcoin investment for Banca Intesa.
/intesa-tracker
|-- /frontend - React frontend application
|-- /backend - Node.js/Express backend server
- Real-time Bitcoin price tracking in USD and EUR
- Historical price charts
- Investment performance tracking
- Multiple API sources with fallback
- Caching layer to handle rate limits
To run the application using Docker Compose, follow these steps:
-
Build and start the containers:
In the root of the project, run:
docker compose up -d
This will build the frontend and backend containers and start them.
-
Endpoint:
The URLs for the frontend and backend are detailed in the Development Setup section.
-
Stop the application:
To stop the containers run:
docker compose stop
If you want to stop and remove the containers and network run:
docker compose down
- Install dependencies for all projects:
npm run install:all
- Start both frontend and backend in development mode:
npm run dev
Or run them separately:
- Frontend only:
npm run frontend
- Backend only:
npm run backend
The frontend will be available at http://localhost:5173 The backend API will be available at http://localhost:3456
npm run build
This will build both frontend and backend applications.
GET /health
- Health check endpointGET /api/price/bitcoin
- Get current Bitcoin price in USD and EURGET /api/historical/bitcoin?days=60
- Get historical price data
Feel free to open issues and pull requests!
Made with ❤️ by Alessandro Mazza