Skip to content

A next-gen dining platform designed to digitize meal experiences and streamline operations. Delivers a smooth, responsive interface for diners and administrators alike — built with Next.js, Firebase, and Tailwind CSS.

Notifications You must be signed in to change notification settings

Tejas164321/My-Dinner

Repository files navigation

🍽️ MyDinner – Digital Dining Suite

Next.js TypeScript Firebase Tailwind CSS Google AI

Elevating Digital Dining through Modern Design and Smart Technology.

A modern, AMOLED-inspired dining experience platform offering seamless meal coordination, user interaction, and billing — all in one unified system. Built for elegance, responsiveness, and everyday convenience. Designed to deliver a refined digital dining experience that connects users and administrators effortlessly.


📋 Table of Contents


✨ Features

👨‍💼 Admin Portal

  • Mess Registration & Management
  • Student Management
  • Meal Menu Scheduling
  • Billing & Payments
  • Announcements
  • Holiday Management
  • Analytics Dashboard

👨‍🎓 Student Portal

  • Dashboard Overview
  • Leave Management
  • Attendance Tracking
  • Bill Viewing
  • Notifications
  • Mess Selection
  • Settings Management

🤖 AI-Powered Features

  • Smart Menu Suggestions
  • Automated Notifications
  • Predictive Analytics

🔐 Security & Authentication

  • Role-Based Access Control
  • Firebase Authentication
  • Firestore Security Rules
  • Real-time Data Sync

🚀 Tech Stack

Frontend

Backend & Database

  • Backend-as-a-Service: Firebase
    • Authentication
    • Firestore NoSQL database
    • Security Rules
    • Hosting

AI & Analytics

  • AI Framework: Genkit - Google's generative AI toolkit
  • Charts: Recharts - Composable charting library

Development Tools

  • Package Manager: npm/yarn
  • Build Tool: Next.js built-in
  • Linting: ESLint
  • Type Checking: TypeScript
  • Version Control: Git

📦 Installation

Prerequisites

  • Node.js 18.x or higher
  • npm or yarn package manager
  • Firebase project with Firestore enabled
  • Google AI API key (for AI features)

Step-by-Step Installation

  1. Clone the repository

    git clone https://github.com/your-username/mydinner.git
    cd mydinner
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Environment Setup

    cp .env.example .env.local
  4. Configure Firebase

    • Create a Firebase project at Firebase Console
    • Enable Authentication and Firestore
    • Copy your Firebase config to .env.local
  5. Configure Google AI


🚀 Usage

Development

npm run dev
# or
yarn dev

Open http://localhost:3000 to access the application.

Admin Workflow

  1. Sign Up/Login as Admin
  2. Create Mess with unique join code
  3. Manage Students - Approve registrations
  4. Schedule Menus - Plan daily meals
  5. Handle Billing - Generate and confirm payments
  6. Send Announcements - Communicate with students

Student Workflow

  1. Sign Up with mess join code
  2. View Dashboard - Check meals and attendance
  3. Apply for Leave - Request time off
  4. View Bills - Check payment status
  5. Stay Updated - Read announcements

📁 Project Structure

mydinner/
├── src/
│   ├── ai/                    # AI integration (Genkit)
│   ├── app/                   # Next.js App Router
│   │   ├── admin/            # Admin portal pages
│   │   ├── auth/             # Authentication actions
│   │   ├── student/          # Student portal pages
│   │   └── globals.css       # Global styles
│   ├── components/           # Reusable UI components
│   │   ├── admin/           # Admin-specific components
│   │   ├── student/         # Student-specific components
│   │   ├── shared/          # Shared components
│   │   └── ui/              # Shadcn/ui components
│   ├── contexts/            # React contexts
│   ├── hooks/               # Custom React hooks
│   ├── lib/                 # Utility libraries
│   │   ├── actions/         # Server actions
│   │   ├── listeners/       # Firestore listeners
│   │   └── services/        # Business logic
│   └── types/               # TypeScript definitions
├── docs/                    # Documentation
├── public/                  # Static assets
├── firebase.json            # Firebase configuration
├── firestore.rules          # Database security rules
├── firestore.indexes.json   # Database indexes
├── next.config.js           # Next.js configuration
├── tailwind.config.ts       # Tailwind CSS config
├── tsconfig.json            # TypeScript config
└── package.json             # Dependencies

📄 License

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


Eat Smart, Live Better – Revolutionizing Meal Dining

About

A next-gen dining platform designed to digitize meal experiences and streamline operations. Delivers a smooth, responsive interface for diners and administrators alike — built with Next.js, Firebase, and Tailwind CSS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages