This is a REST API for the Altzone game. For API description see the wiki pages
Production https://altzone.fi/api (prod branch) Latest release https://devapi.altzone.fi/latest-release (main branch) Dev https://devapi.altzone.fi (dev branch)
Latest swagger file version The most up-to-date API description
npm install
Run docker compose up
to start DB, mongo-express (UI for Mongo) and Nginx (it will take couple minutes for the first time)
Start the API in dev (watch) mode by running npm run start:dev
in a new terminal.
This command will compile TS to JS and create a dist folder. This folder should not be removed.
The server will be accessible on your machine on http://localhost:8080/
docker compose down