- A docker-compose file is available (with corresponding Dockerfiles) to quickly spin up frontend and backend services along with a mongodb instance and a cloudflare tunnel (for hosting). You may use these files as is or modify them accordingly to quickly get started on the project. If for some reason you prefer to manually run the services follow the below instructions.
-
Install dependencies:
-
Backend python requirements:
pip install requirements.txt
(tested using python version 3.13.0) -
Latex environment: textlive (for linux -
apt update && apt install -y texlive
)
-
-
Setup MongoDB database (either using mongodb atlas or locally hosted docker container), once done create a database named
mydatabase
and set theMONGODB_HOST_STRING
env variable to the full connection string. (eg.mongodb://db:27017/mydatabase
) -
Also set the
BASE_FRONTEND_URL
env variable to the base url of the frontend (eg:http://localhost:3000
) -
Run the application using
flask run
-
pnpm
is the preferred package manager, butnpm
oryarn
can also be used. -
Install dependencies using
pnpm install --frozen-lockfile
-
Set the
REACT_APP_BACKEND_BASE_URL
to the base url of the backend (eg:http://localhost:5000
), it can also be edited in thefrontend/src/api/base.ts
file. -
Run the application using
pnpm start