Map Colonies Export Manegement Service
This is a nodejs REST API management service for MapColonies Export Services
Template Features:
-
eslint configuration by @map-colonies/eslint-config
-
prettier configuration by @map-colonies/prettier-config
-
jest
-
.nvmrc
-
Multi stage producton-ready Dockerfile
-
commitlint
-
git hooks
-
logging by @map-colonies/js-logger
-
OpenAPI request validation
-
config load with node-config
-
Tracing and metrics by @map-colonies/telemetry
-
github templates
-
bug report
-
feature request
-
pull request
-
github actions
-
on pull_request
-
LGTM
-
test
-
lint
-
snyk
API
Checkout the OpenAPI spec here
Installation
Install deps with npm
npm install
Install Git Hooks
npx husky install
Run Locally
Clone the project
git clone https://link-to-project
Go to the project directory
cd my-project
Install dependencies
npm install
Start the server
npm run start
Running Tests
To run tests, run the following command
npm run test
To only run unit tests:
npm run test:unit
To only run integration tests:
npm run test:integration