/node-rest-shop

A simple shop RESTful API made with node using express.

Primary LanguageJavaScript

NODE-REST-SHOP

A simple node shop RESTful API. (uses a mongodb cloud).

Available Scripts

For install all dependencies:

npm install

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

MODULES

Module Description
express Create route abstractions, middleware, and other functions to make it easy to create both the API's and SPA's
nodemon Restarts the server with each change automatically
morgan Logger for all requests in the terminal
body-parser Converts the request body to several formats, such as json
mongoose has a system of type conversion, validation, creation of queries and hooks for business logic, used for mongodb
multer uploads images
bcrypt hash encoder
jsonwebtoken authentication, for single sign-on