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
.env
file at the root of the project - Add the following environment variables:
URI="mongodb://base:[email protected]:27018/database?authSource=admin"
ISDEV=true
- Start the server
npm start
npm run test
or
npm run test file