Backend repository for the ocean-pearl project. An Open API documentation can be found at https://api.oceanpearl.io.
Create .env files for each working environment, e.g. dev.env
, inside the environment folder.
An example for the contents of the file can be found inside the environment folder.
$ yarn install
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
$ yarn test
To run tests locally you preferably have an instance of MongoDB installed on your local machine. Refer to the MongoDB documentation for further instructions: https://docs.mongodb.com/manual/administration/install-community/