Inspiration
We wanted to build a simple and practical e-commerce platform that demonstrates how a real online shopping system works. Our goal was to create a platform where customers can easily browse products, place orders, choose Cash on Delivery, and track their orders, while administrators can efficiently manage products, stock, and orders.
What it does
Go Commarce is a mini e-commerce platform with two types of users: customers and administrators.
Customers can:
- Create an account and log in
- Browse and view products
- Add products to their cart
- Place orders
- Provide a delivery address
- Choose Cash on Delivery
- View their order history
- Track their order status
Administrators can:
- Securely log in
- Add, update, and remove products
- Manage product stock
- View customer orders
- Update order statuses
How we built it
We built Go Commarce using a modern full-stack architecture.
The backend follows the MVC (Model-View-Controller) pattern and uses RESTful APIs for communication between the frontend and backend.
Technologies include:
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT authentication
- bcrypt for password security
- REST APIs
- React/Next.js for the frontend
Authentication and role-based authorization are used to protect customer and admin features.
Challenges we ran into
One of our main challenges was designing the application quickly while keeping the architecture clean and easy to maintain.
We also had to handle:
- Authentication and authorization
- Separating customer and admin permissions
- Product stock management
- Order creation and order status updates
- Maintaining secure user passwords
- Designing the database relationships between users, products, carts, and orders
Because this was a hackathon project, we had to carefully prioritize the most important features.
Accomplishments that we're proud of
We are proud of building a complete e-commerce workflow within a limited development time.
The most important accomplishment was connecting the entire flow:
Customer → Products → Cart → Checkout → Order → Admin → Order Status
We also implemented role-based access control so that administrative operations are protected from normal customers.
Building the project using MVC architecture also helped us keep the backend organized and scalable.
What we learned
Through this project, we improved our understanding of:
- MVC architecture
- REST API design
- JWT authentication
- Role-based authorization
- MongoDB and Mongoose
- E-commerce order workflows
- Stock management
- Backend/frontend integration
- Building and prioritizing an MVP under time constraints
Most importantly, we learned how to turn an idea into a working product within a limited amount of time.
What's next for Go Commarce
We plan to continue improving Go Commarce by adding more real-world e-commerce features, including:
- Stripe online payment
- Product search and filtering
- Product categories
- Wishlist
- Product reviews and ratings
- Discount coupons
- Better admin analytics
- Email/SMS order notifications
- Improved order tracking
- More advanced inventory management
Our goal is to gradually turn Go Commarce from a hackathon MVP into a more complete and production-ready e-commerce platform.
Log in or sign up for Devpost to join the conversation.