This project consists of a Next.js frontend and a FastAPI backend. Hosted at https://bipolar.aryanbharti.com/
-
Navigate to the
frontend
directory:cd frontend
-
Populate the
.env
file with the backend URL using the format in.env.sample
-
Install the dependencies and start the Next.js server:
npm install npm run dev
The frontend will now be running at http://localhost:3000
.
-
Navigate to the
backend
directory:cd backend
-
Install the dependencies:
pip3 install -r requirements.txt
-
Populate the
.env
file with using the format in.env.sample
-
Start the FastAPI server:
uvicorn main:app
The backend will now be running at http://localhost:8000
.