Coffee Shop MVC Application
A full-stack MVC (Model-View-Controller) web application for a coffee shop built with Node.js, Express, and dual database support (MongoDB + MySQL).
Features
Customer Features
User Authentication: Registration and login system with session management
Product Management: Browse and view coffee products with categories
Shopping Cart: Add products to cart and manage quantities
Product Reviews & Ratings: 5-star rating system with user reviews
User Dashboard: Personal dashboard with account overview
User Profile: Editable profile management
Order History: View past orders and order status
Admin Features ?
Admin Dashboard: Comprehensive admin panel with data visualization
Analytics & Charts: Visual insights with charts for sales, orders, and user activity
Product CRUD Operations: Complete product management (Create, Read, Update, Delete)
Order Management: View, edit, and update order status
Sales Reports: Track revenue and performance metrics
Inventory Management: Monitor and update product stock levels
User Management: View and manage customer accounts
Technical Features
Responsive Design: Modern UI with EJS templating
Dual Database: MongoDB for users, MySQL for products and reviews
Flash Messages: User feedback system
Role-Based Access: Separate customer and admin interfaces
Tech Stack
Backend: Node.js, Express.js
Architecture: MVC (Model-View-Controller) Pattern
Databases: MongoDB (users) + MySQL (products, reviews, orders)
Template Engine: EJS
Authentication: Express Session, bcryptjs
File Upload: Multer
Charts & Analytics: Chart.js / D3.js
Styling: Bootstrap 5 + Custom CSS
Icons: Font Awesome