FixMyRoad is a full-stack web application designed for submitting and viewing feedback related to road maintenance. The backend is built using FastAPI, while the frontend is crafted with React.js. This application aims to streamline the process of reporting road issues and enhancing community engagement in road maintenance.
-
Frontend:
- React.js
- CSS (for styling)
- Axios (for making HTTP requests)
-
Backend:
- FastAPI
- Pydantic (for data validation)
- Uvicorn (as the ASGI server)
- SQLAlchemy (for database interactions)
-
Database:
- SQLite (for local development)
Follow these steps to set up the project on your local machine:
git clone https://github.com/Aradhya-005/FixMyRoad.git
Navigate to the project directory and create a virtual environment:
python -m venv venv
venv\Scripts\activate
Install the necessary packages:
pip install -r requirements.txt
Start the backend server from the root directory of the project:
uvicorn main:app --reload
cd front_end
npm install
npm start