Skip to content

klef-dev/stateless-microservice

Repository files navigation

Nodejs stateless microservice

Functionalities

Authentication JSON patching Image Thumbnail Generation

Setup

To use this project, make sure to:

  1. Clone the project.
  2. cd into the project.
  3. npm install.
  4. After all the packages install, run npm start to launch project.

Note: To create your .env file

macOS / Linux

$ cp .env.example .env

Windows

$ copy .env.example .env Then edit the .env file and modify the API keys only for services that you will use.

When running this application, make use Postman since tests are API tests.

  1. For unit tests, run npm test.

Info: Tests were built with Mocha. And made use of NYC for the test coverage output.