A simple back-end server built using the nest.js framework for the purpose of demonstrating coding/architecture proficiency. This server functions as a movie database, allowing users to sign-up, authenticate, and create/retrieve movies from the database using basic http requests.
OpenAPI documentation can be viewed by starting the server locally, then navigating to http://localhost:3000/docs
Database: MongoDB
Cache: Redis
Messaging: Amazon SQS
Web Framework: Express
# install correct version of node
$ nvm install v20.9.0
# install yarn
$ npm install -g yarn# install dependencies
$ yarn install# from the project root
$ docker-compose up
# or start the services in the background
$ docker-compose up -dIn order to run the application, first copy the .env.example file contents into a new .env file, and edit the environment variables as necessary.
# build the app
$ yarn run build
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod# unit tests
$ yarn run test:unit
# e2e tests
$ yarn run test:e2eAggregateError:
at internalConnectMultiple (node:net:1102:18)
at afterConnectMultiple (node:net:1620:5)
error Command failed with exit code 1.
The server is unable to connect to a required service. Is docker running and configured properly?