ocean-tech-ship / ocean-pearl-api

Public API for the OceanPearl project.
https://api.oceanpearl.io
4 stars 1 forks source link

CI

Description

Backend repository for the ocean-pearl project. An Open API documentation can be found at https://api.oceanpearl.io.

Startup

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

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Testing

$ 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/