E-Commerce API is an e-commerce platform backend developed using Golang with the Gin web framework and Gorm ORM. This API powers a comprehensive e-commerce experience, providing distinct functionalities for different roles:
- Users: Manage personal accounts, browse products, and place orders.
- Sellers: Manage their own product listings, track sales, and handle inventory.
- Admins: Oversee the entire platform, manage user and seller accounts, and control product categories.
The API integrates with Razorpay for secure payment processing and uses PostgreSQL as the database for reliable data management.
-
User Features:
- Authentication: Secure registration and login.
- Product Browsing: Search and view products.
- Shopping Cart: Add products to the cart and proceed to checkout.
- Order Management: Track and view order history.
-
Seller Features:
-
- Authentication: Secure registration and login.
- Product Management: Add, update, and remove products.
- Inventory Tracking: Monitor stock levels and sales.
- Order Fulfillment: Manage and process incoming orders.
-
Admin Features:
-
- Authentication: Secure registration and login.
- User Management: Create, update, and deactivate user accounts.
- Seller Management: Create, update, and deactivate seller accounts.
- Product Management: Oversee all product listings and categories.
- Order Oversight: Monitor and manage all orders across the platform.