Soko Huru is a digital marketplace built as a single-page application using React, allowing buyers to view and purchase products from different sellers. The project was developed as part of the Phase 2 project at Moringa School. The application uses React for a responsive and interactive UI, with client-side routing implemented using react-router-dom. A lightweight mock backend using json-server was used to perform full CRUD operations, simulating real-world APIs. Git and GitHub were used for version control, collaboration, and managing branches. The key features of Soko Huru include user authentication, product listings, view sellers, add/delete products, and full CRUD support. The project followed best practices such as component reusability, controlled forms, data fetching with useEffect, and state management with useState. The team faced challenges such as merge conflicts in Git and API errors, but learned valuable lessons from resolving these issues. Future versions of Soko Huru plan to add payment integration and filtering/search functionality. The project provided a real-world simulation of building a working web app using modern JavaScript tools, laying a strong foundation for becoming a full-stack developer.
dev.to
dev.to
Create attached notes ...
