Install yarn globaly.
npm install -g yarnInstall dependencies.
yarn installSetup the environment variables.
.envcan be used.
NODE_ENV="<environment>"
PORT="<port>"
DATABASE_URL="<database URL>"Example:
NODE_ENV=development
PORT=3000
DATABASE_URL=postgres://dev:dev@localhost:5432/boilerplateTo start the server watching changes.
yarn debugyarn build
yarn serverThis project uses Swagger UI to display the documentation. It initializes with the server, so to view it, start the server following the development or production instructions, and access /docs.