Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tqt97/node.js-backend-architecture-ecommerce

A Project Nodejs Backend Architecture E-commerce
https://github.com/tqt97/node.js-backend-architecture-ecommerce

compression express helmet mongodb mongoose morgan nodejs

Last synced: about 2 months ago
JSON representation

A Project Nodejs Backend Architecture E-commerce

Awesome Lists containing this project

README

        

# A project Nodejs backend architecture E-commerce

#### Author: TuanTQ - [email protected]

> #### **Documents:**
> - [*Connect MongoDB to Node.js Using Mongoose and 7 things to implement in the system*](./docs/7_things_when_connect_mongodb.md)

#### Run this project
```
node --watch server.js
```

#### Packages install in this project:
- **Express.js** is a web application framework for Node.js,designed to simplify the process of building robust and scalable web applications and APIs
```
npm i express --save
```
- **Morgan** is a popular middleware for Node.js web applications that provides HTTP request logging
```
npm i morgan --save-dev
```
- **Helmet** is a popular package for securing Express.js applications by setting various HTTP headers
```
npm i helmet --save-dev
```
- **Compression** is commonly used in Node.js applications to enable gzip compression for HTTP responses, which helps in reducing the size of the data sent over the network.
```
npm i compression --save-dev
```
- **Mongoose** is an ODM (Object-Document Mapper) for MongoDB and is commonly used with Node.js applications.
```
npm i mongoose
```
- **Dotenv** package is commonly used in Node.js applications to load environment variables from a .env file into process.env.
```
npm i dotenv
```
- **Bcrypt** is a popular library for hashing passwords in Node.js applications
```
npm i bcrypt --save
```
- **Crypto** module provides cryptographic functionality, including hash functions, HMAC (Hash-based Message Authentication Code), and other cryptographic operations.
```
npm i crypto --save
```
- **JSON Web Tokens (JWT)** is commonly used for creating and verifying JSON Web Tokens (JWT) in Node.js applications.
```
npm i jsonwebtoken --save
```
- **Lodash** is a JavaScript library that provides utility functions for common programming tasks using a functional programming paradigm
```
npm i lodash -save
```