Skip to content

Mr-MRF-Dev/SmartCaf-Software-Engineering-I-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

105 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍽 SmartCaf

Typing SVG

student panel

GitHub repo size GitHub License

πŸ“‹ Overview

SmartCaf (Ψ§Ψ³Ω…Ψ§Ψ±Ψͺ کف) is a comprehensive Software Engineering I project at Isfahan University of Technology (IUT) for a modern smart cafeteria reservation system. The repository includes both the full software engineering documentation (analysis & design artifacts) and a working Next.js web frontend that demonstrates the system.

🎯 Project Objectives

  • Design an innovative solution for university cafeteria reservation management
  • Apply software engineering principles and methodologies
  • Create comprehensive documentation following industry standards
  • Develop detailed requirements specifications and process models
  • Build a functional frontend prototype demonstrating the designed system
  • Demonstrate proficiency in software analysis, design, and implementation

πŸš€ Key Features

The SmartCaf system is designed to streamline university cafeteria operations with:

  • Smart Reservation System: Browse meals by type (breakfast/lunch/dinner) with a Farsi calendar and reserve food
  • AI-Powered Suggestions: Intelligent meal recommendations based on user preferences and history
  • Order History & Reviews: Track past orders, rate meals, and leave comments
  • Inventory Management: Automated stock tracking and low-stock alerts (admin)
  • Payment & Wallet: Digital wallet top-up and payment management
  • Analytics Dashboard: Insights into sales, popular items, and daily statistics (admin)
  • User Management: Separate interfaces for students and administrators
  • Help & Support: FAQ system with searchable error codes and ticket-based support
  • Full RTL/Persian UI: Complete Farsi interface with Jalali calendar and Vazirmatn font
  • Dark Mode: System-wide light/dark theme toggle

πŸ“ Repository Structure

SmartCaf-Software-Project/
β”œβ”€β”€ docs/                          # Software Engineering documentation
β”‚   β”œβ”€β”€ activity-diagram/          # UML Activity Diagrams
β”‚   β”œβ”€β”€ class-diagram/             # UML Class Diagrams
β”‚   β”œβ”€β”€ communication-diagram/     # UML Communication Diagrams
β”‚   β”œβ”€β”€ package-diagram/           # UML Package Diagrams
β”‚   β”œβ”€β”€ process-model/             # Business process models
β”‚   β”œβ”€β”€ proposal/                  # Project proposal & feasibility
β”‚   β”œβ”€β”€ requirements/              # SRS (functional & non-functional)
β”‚   β”œβ”€β”€ sequence-diagram/          # UML Sequence Diagrams
β”‚   β”œβ”€β”€ state-diagram/             # UML State Diagrams
β”‚   β”œβ”€β”€ use-case-description/      # Detailed use case descriptions
β”‚   β”œβ”€β”€ use-case-diagram/          # UML Use Case Diagrams
β”‚   β”œβ”€β”€ user-story/                # Agile user stories
β”‚   └── windows-navigation-diagram/ # UI flow & screen transitions
β”‚
β”œβ”€β”€ src/                           # Next.js frontend application
β”‚   β”œβ”€β”€ public/                    # Static assets
β”‚   └── src/
β”‚       β”œβ”€β”€ app/                   # App Router pages
β”‚       β”‚   β”œβ”€β”€ login/             # Login + forgot password
β”‚       β”‚   β”œβ”€β”€ admin/             # Admin panel (6 sub-pages)
β”‚       β”‚   └── student/           # Student panel (6 sub-pages)
β”‚       β”œβ”€β”€ components/            # Reusable UI components (shadcn/ui)
β”‚       β”œβ”€β”€ hooks/                 # Custom React hooks
β”‚       └── lib/                   # Mock data & utilities
β”‚
β”œβ”€β”€ LICENSE
└── README.md

πŸ“š Documentation

The docs/ folder contains a complete set of Software Engineering artifacts. Each document follows standard UML conventions.

Artifact Description
Activity Diagrams Flow of activities: ordering, payment, inventory
Class Diagrams Static structure: classes, attributes, relationships
Communication Diagrams Object interactions & message exchanges
Package Diagrams Logical grouping & dependencies between packages
Process Models High-level & detailed operational workflows
Proposal Problem statement, scope, feasibility
Requirements (SRS) Functional & non-functional requirements
Sequence Diagrams Time-ordered interactions for key scenarios
State Diagrams Lifecycle & state transitions of entities
Use Case Descriptions Structured textual descriptions of behavior
Use Case Diagrams System boundaries, actors, interactions
User Stories Agile user stories for all roles
Windows Navigation Diagrams UI flow & screen transitions for user interfaces

πŸ’» Frontend Application

The src/ folder contains a fully functional Next.js 16 frontend prototype. See src/README.md for detailed setup instructions, tech stack, and project structure.

Quick Start

cd src
bun install
bun dev

Open http://localhost:3000 β€” login with admin/admin (admin panel) or any 5+ character username (student panel).

Tech Stack Highlights

Next.js 16 Β· React 19 Β· TypeScript Β· Tailwind CSS 4 Β· shadcn/ui Β· Recharts Β· react-day-picker (Farsi) Β· Vazirmatn font Β· Sonner Β· next-themes

🧠 Educational Purpose

This project is intended for academic use in the Software Engineering I course and demonstrates:

  • Application of UML and modeling techniques
  • Requirement analysis and documentation skills
  • Structured system design thinking
  • End-to-end implementation from design to prototype
  • Modern web development with Next.js and React
  • Team-based software engineering practices

πŸ‘₯ Team Members

The project is a collaborative effort by the following team members:

🀝 Contributing

We welcome any contributions you may have. If you're interested in helping out, fork the repository and create an Issue or PR.

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.

About

🍽 SmartCaf is a conceptual software engineering (I) project focused on designing a smart cafeteria system, without any implementation.

Topics

Resources

License

Stars

Watchers

Forks

Contributors