- Python 3
- Node.js and npm
- MySQL
Navigate to the backend directory and start the application:
cd backend/app
python3 app.pyNavigate to the frontend directory, install dependencies, and start the development server:
cd frontend
npm install
npm run devSet up a local MySQL instance with the following credentials:
- Username:
root - Password:
root
Note: These credentials are hardcoded in the application. Ideally, we would use environment variables, but this is the current implementation.
We tried setting up Docker for this project but encountered issues with connecting the MySQL database to the backend.
The Dockerfiles for both the frontend and backend are included and should work independently, but the database connection was a roadblock.
If you're still keen on trying Docker, you can refer to the Dockerfiles in the root directories for both the frontend and backend.
Important: We have the change_detection.sql file in the db folder, which contains the necessary database setup. It might help in case you need to manually set up the database.
Setting up the entire system locally may be challenging due to the configuration requirements and the database connectivity issues mentioned above.
If you encounter problems, please reach out to the development team.