A simple node shop RESTful API. (uses a mongodb cloud).
For install all dependencies:
In the project directory, you can run:
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.
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 |