Skip to content

About

A university café management system with loyalty rewards, event tracking, inventory control, and BI-focused SQL queries. Built for the Les Maisons case study using 3NF ERD design, stored procedures, and views to simulate real-world business operations.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

☕ Les Maisons Café Management System - University Case Study

ERD Diagram

Database: SQL Server
Backend: Python
Design: 3NF
BI: Power BI
API: FastAPI
License: MIT

📌 Business Case Study: Optimizing Café Operations

Challenge

Les Maisons café chain faced:

  • 30% inventory waste from poor forecasting
  • 15% loyalty program fraud incidents
  • No centralized event performance tracking

Tech-Driven Solution

Component Technology Implementation
Database SQL Server 2019 3NF-compliant schema with 15+ tables
Backend Python 3.10 FastAPI microservices
Analytics Power BI Real-time dashboards
ETL Azure Data Factory Daily data pipelines
Version Control Git/GitHub CI/CD workflows

🏗️ Database Architecture

Core Modules

erDiagram
    CUSTOMERS ||--o{ ORDERS : "places"
    ORDERS ||--|{ ORDER_ITEMS : "contains"
    INVENTORY }|--|| PRODUCTS : "tracks"
    EVENTS ||--o{ PROMOTIONS : "triggers"
    LOYALTY ||--o{ REDEMPTIONS : "processes"

heatmaps

🚀 Implementation Highlights

-- Sample Stored Procedure
CREATE PROCEDURE CalculateLoyaltyPoints
    @CustomerID INT,
    @OrderAmount DECIMAL(10,2)
AS
BEGIN
    UPDATE LoyaltyAccounts
    SET Points = Points + (@OrderAmount * 0.1)
    WHERE CustomerID = @CustomerID
END

About

A university café management system with loyalty rewards, event tracking, inventory control, and BI-focused SQL queries. Built for the Les Maisons case study using 3NF ERD design, stored procedures, and views to simulate real-world business operations.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors