Logo Lanfrica

natty-fe/Gulit.github.io

Domaine:

agriculture

Type de record:

software
Créateur:
nat
Hôte:
This repo contains Gulit market system that tells the current market of the weekend here in Addis Abeba, Ethiopia. # GULIT - Market Price Management System GULIT is a bilingual marketplace and price management system built for agricultural markets. It handles customers, shop owners, delivery workers, branch committee members, and the main committee, and covers approved shops, regulated product prices, inventory, orders, deliveries, complaints, and password reset emails. ## Background The first version of this project was a Supabase + HTML/CSS/JavaScript app. It already had the frontend pages, product browsing, the different user role screens, the shop workflow, the delivery workflow, complaint screens, a bilingual UI, themes, and local fallback data. For the Web Programming II final project, it got rebuilt into a full-stack app with a Node.js/Express backend: a REST API, MVC structure, JWT authentication, password hashing, authorization, logging, and SQL schema files. ## Stack - Frontend: HTML, CSS, JavaScript - Backend: Node.js, Express.js - Database: Supabase (PostgreSQL) - API: REST - Auth: JWT - Password security: bcrypt - Validation: express-validator - Logging: Morgan + audit logs - Email: SMTP / Resend-compatible service - Deployment: GitHub Pages (frontend), Render (backend) - Version control: Git and GitHub ## Features - Role-based accounts for customers, owners, delivery workers, branch committee, and main committee - Login, registration, JWT sessions, and forgot-password email - Product catalog with regulated price ranges - Shop registration and approval - Owner inventory listing - Customer product browsing and ordering - Order queue for shop owners - Delivery assignment and a queue for delivery workers - Complaint creation and review - Audit logs for important actions - Bilingual, responsive interface with multiple themes ## Architecture MVC-style backend: ```text Frontend -> Express REST API routes -> Controllers -> Models -> Supabase PostgreSQL ``` Folder layout: ```text backend/src/routes/ API route definitions backend/src/controllers/ Busine …