Skip to content

MahmoudSerag/E-Commerce-App

Repository files navigation

Unknown-Squad

NPM Version Package License PRs Welcome

Node.Js Nest.Js MongoDB TypeScript Swagger NPM

Description

The e-commerce app built with Node.js, Nest framework, MongoDB, and JWT offers a comprehensive set of features to support the entire shopping experience for customers. Users can register and login securely using JWT authentication, search and browse the product catalog, add products to their cart, and complete the checkout process with ease.

For example, a user can search for a product, add it to their cart, and choose a payment method. Once the payment is processed, the order is created and the user can track the status of their order from the app. Additionally, the app offers customer support features, such as the ability to create support tickets and get assistance with any issues that may arise.

Overall, the e-commerce app provides a seamless shopping experience that is secure, user-friendly, and efficient, making it a great choice for businesses looking to create a successful online store.

Database Design

Input info

Documentation

Here

Installation

$ git clone https://github.com/MahmoudSerag/E-Commerce-App
$ cd E-Commerce-App
$ npm install

Create .env file, and add Environment Variables to it:

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

Environment Variables

  1. PORT: Specifies the server port number (e.g. 3000).

  2. MONGO_URI: Specifies the MongoDB connection URL (e.g. mongodb://localhost:27020/database_name OR add ur Mongo Cluster URI)

  3. EMAIL_SERVICE: gmail

  4. EMAIL_HOST: smtp.gmail.com

  5. EMAIL_PORT: 465

  6. EMAIL_SENDER: Add ur email (e.g: JohnDoe@example.com)

  7. EMAIL_PASSWORD: Add ur email password (e.g: ddas123gtrqxD)

  8. JWT_SECRET_KEY: Specifies the secret key for JWT authentication (e.g. secretKeyForEducationPlatform12345@$).

  9. JWT_EXPIRES_IN: Specifies the JWT expiration time (e.g. 30d).

  10. STRIPE_SK: Add ur stripe secret key

  11. SERVER_DOMAIN: Specifies the server-side app domain (e.g. http://localhost:3000 OR Add ur production server domain).

License

Nest is MIT licensed.

About

The e-commerce app built with Node.js, Nest framework, MongoDB, and JWT offers a comprehensive set of features to support the entire shopping experience for customers. Users can register and login securely using JWT authentication, search and browse the product catalog, add products to their cart, and complete the checkout process with ease.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors