Tienda Héctor

Oct 2021
PersonalOct 20213 technologies11 features

About this project

A sales and client management web application for a local produce store. Built with Node.js, Express.js, EJS, MySQL, and Passport.js, it provides a complete system for tracking store sales with role-based access (admin/vendor) centered around a contest-oriented sales tracker where vendors register client purchases and the system automatically creates client records on first purchase.

The sales dashboard displays all clients with accumulated purchase totals and per-client history with edit/delete capabilities. The admin panel provides a global sales overview with total revenue and date-range analysis, plus user management for creating accounts with bcrypt password hashing.

Features live client-side search filtering, MySQL session storage, flash messages, and a responsive Bootstrap UI.

Features

Role-based access (Admin, Vendor) with Passport.js authentication and separate dashboards per role
Sales registration per client with amount and automatic date/time stamp
Auto-creation of new client records on first purchase
Per-client purchase history view with total accumulation
Edit and delete individual sales via modals
Admin sales overview with total revenue and date-range analysis
User management (CRUD) for admin and vendor accounts with bcrypt password hashing
Client-side live search filtering on sales and users tables
Flash messages for success and error feedback
Super admin initial seeding on first application setup
Responsive Bootstrap UI with breadcrumb navigation

Tech Stack

Node.jsExpress.jsBootstrap