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.
To get started with the application, follow these steps:
- Clone the repository: `git clone https://github.com/Sushil787/Ecommerce-mock-backend.git ecommerce
- move to ecommerce dir:
cd ecommerce
- Install dependencies:
npm install
- Start the application:
npm run dev
- Open a postman and go to
http://localhost:8080
to access the api services.
- 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.
- Node.js: Server-side JavaScript runtime environment.
- Express: Web application framework for Node.js.
- MongoDB: NoSQL database for storing application data.
- Docker: containerizing app
Contributions to My E-commerce App are welcome! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Create a pull request to the main repository.