- Introduction
- Features
- Technologies Used
- Server configuration
- Installation
- Usage
- Contributing
- License
APIs E-Commerce is an open-source API that allows users to browse, search, and purchase products online. This project aims to provide a fully functional e-commerce platform with essential features like product listings, shopping cart, user authentication, and secure payment processing.
- Browse and search products by categories.
- View product details, including price, description, and images.
- Add products to the shopping cart.
- View and modify the shopping cart contents.
- Checkout and securely process payments.
- User authentication and registration system.
- Admin panel to manage products, categories, and orders.
- Continue update...
- Back-end:
- Node.js and Express.js for the server
- MongoDB for the database
- Mongoose for object modeling
- JSON Web Tokens (JWT) for user authentication
you need :
node.js 18.17.0+
(tested in v18.17.0)mongoDB 6.0.8+
(tested in v6.0.8)
1. Clone the repository:
git clone https://github.com/thaitinkhang23/APIs-Ecommerce.git
2. Install dependencies:
cd APIs-Ecommerce
npm install --force
3. Create a .env file in the root directory and set the environment variables:
SECRET_KEY_JWT
= YOUR_SECRET_KEYMONGODB_URI
= MONGODB URI
1. Start the development server:
npm run dev
2. Open your web browser and navigate to http://localhost:3000 to access the web application.
3.Enjoy
Contributions are welcome! If you find any bugs or want to add new features, please feel free to open an issue or submit a pull request.
- Fork the repository.
- Create your feature branch: git checkout -b feature/new-feature
- Commit your changes: git commit -m 'Add some new feature'
- Push to the branch: git push origin feature/new-feature
- Open a pull request.
This project is licensed under the MIT License. Feel free to use and modify the code as per the terms of the license.