Triveous Ecommerce API is the server-side component of our robust e-commerce platform, powering everything from user authentication to order processing. Built with Node.js, Express.js, and MongoDB, it provides the essential backend functionality for a complete online shopping experience.
Our Triveous Ecommerce Backend API offers a comprehensive set of features to drive your e-commerce platform:
-
User Management:
- User registration.
- Secure user authentication using JSON Web Tokens (JWT).
-
Category and Product Management:
- Create, update, and delete product categories.
- Manage product details including title, price, description, and availability.
-
Shopping Cart:
- Add products to the cart.
- View, update quantities, and remove items from the cart.
-
Order Processing:
- Place orders with automatic calculation of order totals.
- Order history and order details retrieval.
-
Error Handling:
- Robust error handling and validation for data integrity.
-
RESTful APIs:
- Well-documented RESTful APIs for seamless integration with frontend applications.
Our backend leverages the following technologies to provide a secure and scalable e-commerce solution:
-
Node.js: A server-side JavaScript runtime for building fast and scalable network applications.
-
Express.js: A minimal and flexible Node.js web application framework that simplifies the development of robust APIs.
-
MongoDB: A NoSQL database for efficient data storage and retrieval.
-
Mongoose: An elegant object modeling library for MongoDB, making it easy to manage database interactions.
-
JSON Web Tokens (JWT): Secure user authentication and authorization.
Before you start, ensure you have met the following requirements:
- Node.js: Install Node.js (LTS version) from nodejs.org.
-
Clone the repository:
git clone https://github.com/ShradhaVastrakar/EcommerceAPI.git
-
Install Dependencies:
cd EcommerceAPI npm install / npm i
-
Database Setup: Configure the MongoDB connection by providing your database URI in the
.envfile:MONGO_URI = your_mongodb_uri
Start the backend server:
```shell
npm start
# or
node index.js
# or
nodemon index.js
# or
npm run start
# or
npm run server
Our API is thoroughly documented to help you integrate the backend with your frontend. For detailed information, please refer to the API documentation.
Swagger API Docs : click here
We maintain a clean and organized folder structure for easy navigation and development. Get familiar with it in the Folder Structure document.
- email: "shradha@gmail.com"
- password: "123"
- Backend Deployed on AWS, Click on the link to go to the deployed site
- http://52.22.2.243:8080/