Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Latest commit

 

History

History
27 lines (18 loc) · 663 Bytes

File metadata and controls

27 lines (18 loc) · 663 Bytes

Voluntime - Backend

Run Locally

You need a .env file created with the following features defined:

COOKIE_SECRET=voluntime           # the secret

COOKIE_DOMAIN=localhost           # the domain in which the cookie is set
CORS_ORIGIN=http://localhost:3000 # the url for the frontend

DATABASE_URL=db_url_goes_here     # could be a remote
                                  # Postgres instance or local

NODE_ENV=development              # Dev for development

POSTGRES_SSL=true                 # true if you use a Postgres
                                  # instance that enforces SSL

Then, it's as simple as:

$ yarn
$ yarn start