This project is a full-stack application using FastAPI for the backend, React for the frontend, and PostgreSQL for the database.
Follow these steps to get the project running locally.
- Make sure you have PostgreSQL installed and running.
- Create a new database for this project in pgAdmin or your terminal.
- Configure the Connection:
- Go to the
backend/folder (or where your python files are). - Locate the
database.pyfile. - Update the
SQLALCHEMY_DATABASE_URLinside that file with your own username, password, and database name.
- Go to the
Open a terminal and navigate to your backend folder:
cd backend
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reloadOpen a new terminal window and navigate to your frontend folder:
npm install
npm run dev