Located in the frontend
directory.
Node.js
npm install
Also create a .env.local
environment variables file in the base frontend
directory.
Add the following contents:
NEXT_PUBLIC_API_URL="http://127.0.0.1:8000"
This informs the frontend of which URL to make backend API requests to. In development, this should be the locally running server (see Backend below).
Development server reloads when code changes are made.
npm run dev
First, create a production build.
npm run build
Then, run the build.
npm run start
Located in the base directory.
Python 3.10
make install
Development server reloads when code changes are made.
make dev
make run