This is the backend of Cartomancy.
- NodeJS, at least the LTS version.
- MongoDB, running on mongodb://localhost:27017/ by default. This can be configured in the environment config files.
Before anything, install the dependencies:
npm install
Run the server with hot-reload with the command:
npm start
The recommended development environment is Visual Studio Code with the following plugins:
Generate the production distribution with:
npm run build
You can then run the server with a process manager such as pm2:
cd dist/
pm2 start server/index.js
See the LICENSE file.