ShopOrion is an e-commerce application designed to deliver a smooth shopping experience with a complete frontend and an actively developed backend. This project utilizes React for the frontend and Node.js with Express for the backend to provide a full-featured online store solution.
- Components: Includes reusable UI components like
Navbar
,Footer
,ProductItem
,RelatedProducts
, and more, ensuring an interactive and responsive user experience. - Pages: Organized pages such as
Home
,Collection
,Cart
,Login
, andAbout
that cover all essential e-commerce functionalities. - Context: Uses
ShopContext
for centralized state management across the application.
- Config: Contains configuration files for connecting to the database (
mongodb.js
) and handling file uploads (cloudinary.js
). - Controllers: Houses
userController
andproductController
to manage the logic behind user and product actions. - Models: Defines MongoDB models for
userModel
andproductModel
. - Routes: API routes, including
userRoute
andproductRoute
, to handle HTTP requests and responses.
- The frontend is fully functional, allowing users to browse products, view details, manage their cart, and access account-related features.
- The backend setup is in progress with MongoDB and route configurations are well established. Currently, work is focused on the
productRoute
to finalize product-related API functionality.
I'm currently troubleshooting an issue while testing the productRoute
. When making requests via Thunder Client, I receive the following error:
{
"success": false,
"message": "Cannot read properties of undefined (reading '1')"
}
Switching to Postman yielded the same error. I'm still looking into solutions and hope to resolve this issue soon.
Sure! Feel free to submit pull requests to improve the project. Contributions are welcome!