Back-end Getting started Clone the repository cd src/back-end Install the dependencies $ npm install Set up the environment variables $ cp .env.sample .env $ vi .env Run the application in development mode $ npm run dev Environment variables Name Description Port The port to listen by the webserver Host The host the web app listens to. Eg: localhost DB_URI The mongo database connection url ACCESS_TOKEN_TTL Access token expiration time REFRESH_TOKEN_TTL Refresh token expiration time PUBLIC_KEY Key for the jwt access token PRIVATE_KEY Key for the jwt refresh token