Just a NodeJs / Express server connected to a MongoDB database located in a mongo atlas cluster.
Use the package manager yarn to install the server.
yarn install
To start the server you will only need to run the command:
yarn run dev
To generate a valid auth token and use the authenticated methods please trigger a POST call to the method
POST http://localhost:8001/api/login
with the user as request body (JSON)
{ "username": "test", "password": "test-password" }
in the root folder you will find a postman collection to check the endpoints working:
g2i.postman_collection.json