-
Install packages using
npm install
-
Attach a .env file to the root of the project with the following env vars:
PORT= DB_URL= DB_USER= DB_PASSWORD= TOKEN_KEY= AUTH0_NAME= AUTH0_DOMAIN= AUTH0_CLIENT_ID= AUTH0_CLIENT_SECRET= GMAIL_EMAIL= GMAIL_PASSWORD= UNSPLASH_ACCESS_KEY= UNSPLASH_SECRET_TOKEN= AWS_S3_KEY= AWS_S3_SECRET= AWS_S3_BUCKET= BACKEND_STATIC_PATH=
-
Run the project using
npm run start
ornpm run dev
-
Run tests using
npm run test
and the path to the desired test or without any to run all of them -
Visit http://localhost:3000/docs to view the Swagger
Thanks :D