/nodejs-api

Nodejs rest api for an online shop

Primary LanguageJavaScript

nodejs-api

Nodejs rest api for an online shop

features

  • CRUD for products
  • oders on products
  • jwt authentication
  • json response
  • password hashing
  • models association

Instructions

Requirements

You will need to install some stuff, if they are not yet installed in your machine:

To clone/download the boilerplate

$ git clone https://github.com/stangatimu/nodejs-api.git

Launching the api

You will first need to install all the required node modules as specified in the package.json file.

Simply run:

$npm i

To launch the server run:

$npm start