This project is a data visualization dashboard that uses a MongoDB database to store and retrieve data, and presents it through a modern and interactive frontend interface. The backend is built using Flask (Python) to handle API requests, and the frontend is developed using React.js with various charting libraries to dynamically visualize data from the database.
- Backend : Python, Flask, MongoDB
- Frontend : React.js, Chart.js, ApexCharts
- Database : MongoDB
-
Navigate to the backend directory:
~cd backend
-
Install the backend dependencies:
~pip install -r requirements.txt
-
Navigate to the frontend directory:
~cd frontend
-
Install the frontend dependencies:
~npm install
-
Start the Flask server:
~python app.py
The backend API will run on
http://127.0.0.1:5000/
.
-
Start the React development server:
~npm start
The frontend will run on
http://localhost:3000/
.
- GET
/api/data
: Fetch all data from the MongoDB collection in JSON format.
Feel free to submit issues or pull requests. Contributions are welcome!