This is the server for the Pirate Phone project. It is a service that allows efficient handling of a large number of calls. The server is configured to secure its user base and performs monitoring on callers to prevent abuse.
- Install dependencies
npm install- Configure environment variables
- Create a
.envfile at the root of the project - Add the following environment variables:
URI="mongodb://base:code@127.0.0.1:27018/database?authSource=admin"
ISDEV=true
- Start the server
npm startnpm run testor
npm run test filemajor.minor.patch
- major: add or remove a model object for the database
- minor: modification on a model, requires a database upgrade
- patch: no modification on the database