This project is a web application that uses ReactJS for the front end, FastAPI for the backend, and MongoDB as the database. The main functionality of the application is to process CSV files uploaded by the user, store the data in a MongoDB database, and provide the CSV file values as output.
Before running the project, ensure that you have the following dependencies installed:
-
Install dependencies:
npm install
-
Start the React development server:
npm run dev
The React app will be accessible at http://localhost:3000.
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
.\venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install dependencies:
pip install -r requirements.txt
-
Start the FastAPI server:
uvicorn main:app --reload
The FastAPI server will be accessible at http://localhost:8000.
Make sure you have MongoDB installed and running. Update the MongoDB connection settings in the backend/main.py
file if needed.
-
Open the web application in your browser: http://localhost:3000.
-
Upload a CSV file using the provided interface.
-
The backend will process the CSV file, store the data in the MongoDB database, and provide the CSV file values as output.
You can configure various settings in the backend/main.py
file, including the MongoDB connection details and other application parameters.
Feel free to contribute to the project by opening issues or submitting pull requests.