/Ecommerce-mock-backend

A Mock up back-end for ecommerce using node, mongoose and express.

Primary LanguageJavaScript

Ecommerce Mockup backend

My E-commerce App is a Node.js-based web application that allows users to buy and sell items online. It includes features such as user authentication, product listings, shopping cart functionality, and order management with .seller and user both can create a/c.

Getting Started

To get started with the application, follow these steps:

  1. Clone the repository: `git clone https://github.com/Sushil787/Ecommerce-mock-backend.git ecommerce
  2. move to ecommerce dir: cd ecommerce
  3. Install dependencies: npm install
  4. Start the application: npm run dev
  5. Open a postman and go to http://localhost:8080 to access the api services.

Features

  • User authentication: Users can sign up, log in Authentication is implemented using [bcrypt,js for password hash and JWT auth for auth and session maintaining].
  • Product listings: Users can view a list of available products, including details such as product name, description, price, and image. Users can also search for products and view individual product details.
  • Shopping cart functionality: Users can add products to their shopping cart, view the contents of the cart, update quantities, and remove items from the cart.
  • Order management: Users can place orders for products in their shopping cart, view their order history, and track the status of their orders.
  • Admin functionality: Admin users have additional privileges, such as adding new products, updating product details, and managing orders.

Technologies Used

  • Node.js: Server-side JavaScript runtime environment.
  • Express: Web application framework for Node.js.
  • MongoDB: NoSQL database for storing application data.
  • Docker: containerizing app

Contributing

Contributions to My E-commerce App are welcome! If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive commit messages.
  4. Push your changes to your forked repository.
  5. Create a pull request to the main repository.