Create a repository on your GitHub account.
Use JavaScript,CSS and Html to wire down the solution.
Push the solution to the above repository once done.
Submit the repository link for grading.
Ensure your repository has a well written README.
This project was created and is sole property of Annglorious mueni.
Smart Soko is an e-commerce web application designed to provide users with a convenient platform to purchase various farm products directly from farmers. The MVP (Minimum Viable Product) focuses on essential functionalities such as browsing products, adding them to a cart, and a simple checkout process.
- Navigation: Users can navigate through sections like Home, About Smart Soko, Products, Contact Us, and Subscribe using the navigation bar.
- Product Display: Farm products are dynamically fetched from a mock server and displayed as cards, each showing product details and an "Add to Cart" button.
- Cart Functionality:
- Users can add products to the cart by clicking "Add to Cart" buttons.
- The cart icon displays the number of items added and allows users to toggle a sidebar to view cart contents.
- Cart items show product names, prices, and a total amount.
- Checkout and Clear Cart: Users can proceed to checkout or clear the cart entirely.
- Rating System: A simple star rating system allows users to rate their experience, triggering an alert with the selected rating.
- Product Display: Products are fetched via a simulated API call (fetchProducts function) and displayed dynamically using JavaScript DOM manipulation.
- Cart Management: Cart functionality (updateCart, clearButton) manages the addition of products, updates the cart display, and allows clearing the cart.
- Responsive Design: Basic responsive design is achieved using CSS Flexbox, ensuring usability on different screen sizes.
- Rating Functionality: Users can rate the platform with a star rating system that provides feedback.
- Backend Integration: Replace simulated API calls with actual backend services for real-time data handling.
- User Authentication: Implement user authentication and user-specific functionalities like order history and profiles.
- Advanced Styling: Enhance UI/UX with more sophisticated CSS animations and design elements.
- Payment Integration: Integrate secure payment gateways to enable real transactions.
- Admin Panel: Develop an admin dashboard for product management, order tracking, and analytics.
Smart Soko's MVP demonstrates foundational e-commerce features with a focus on simplicity and functionality. Future iterations will expand capabilities, improving user experience, security, and scalability. This project aims to provide a seamless online shopping experience for farm products while supporting local farmers and ensuring product quality and customer satisfaction.
The live site: https://sicily-code.netlify.app
- One would need either linux or wsl for window users
- A copy of visual basic code installed
- A github account
- Open your terminal and go to the directory you wish to work from.
- Go to the following url using ur github account https://github.com/ANNGLORIOUS/Pro-coder
- Go to the code tab and clone the ssh key
- Go back to the termina and type git clone <-followed by the ssh key you copied /cloned ->
- Enter your new cloned repository and type in code .
- On the visual studio code that has now opened, go to the the run tab and hit start debugging.
- Frontend: HTML, CSS (with Flexbox for layout and basic styling), JavaScript
- Backend: Placeholder for API calls (simulated with fetch to a local server)
- External Libraries: Font Awesome for icons
For any issues please email me at [email protected]
Apache License 2.0