/aluxion-backend-test

Aluxion Backend test

Primary LanguageJavaScript

Instructions

  1. Install packages using npm install

  2. 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=

  1. Run the project using npm run start or npm run dev

  2. Run tests using npm run test and the path to the desired test or without any to run all of them

  3. Visit http://localhost:3000/docs to view the Swagger

Thanks :D