Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tqt97/node.js-backend-architecture-ecommerce
- Owner: tqt97
- Created: 2024-01-13T03:02:40.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-01-24T13:44:07.000Z (12 months ago)
- Last Synced: 2024-01-24T14:53:10.699Z (12 months ago)
- Topics: compression, express, helmet, mongodb, mongoose, morgan, nodejs
- Language: JavaScript
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```