Skip to content

chemaso/g2i-server

Repository files navigation

NodeJS Server - G2i Challenge

Just a NodeJs / Express server connected to a MongoDB database located in a mongo atlas cluster.

Installation

Use the package manager yarn to install the server.

yarn install

Run the server

To start the server you will only need to run the command:

yarn run dev

Generate auth token

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" }

Postman Collection

in the root folder you will find a postman collection to check the endpoints working:

g2i.postman_collection.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published