bookit-server is a travel agency API backend
$ npm install
# Port to be used
PORT=3005
# MongoDB URI
MONGODB_URI=mongodb://mongouser:[email protected]
# JWT Secret for auth. It can be generated on https://jwt.io/ site
JWT_SECRET=
# Geocode provider
GEOCODE_PROVIDER=openstreetmap
# Static folder where to the SPA
STATIC_DIR=../client/dist
# Public folder where static assets are saved
PUBLIC_DIR=public/
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
While the application is running, open your browser and navigate to http://localhost:3000/api. You should see the Swagger UI.