This repository contains the moncon API.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need NodeJS installed, at least version 14.
Install dependencies.
npm install
- You need to have an instance of a MongoDB database, for example running a docker container with
docker run --name moncon-database -p 27017:27017 -d mongo
- Make a copy of the .env.example file with the name .env, and update it with your config
- You need to add the file firebaseServiceAccountKey.json containing the Firebase configuration
To start the local development server execute the following command.
npm run dev