Nodejs-api

API Documentation

Running in develop mode

$ npm install $ npm run dev

Running tests

$ npm test

Deploying to a server

  • Copy the .env.sample file and name it .env
  • Setup the environments variables
  • npm run build
  • npm start

Dont forget to set the NODE_ENV variable to the desired environment