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.
- Mess Registration & Management
- Student Management
- Meal Menu Scheduling
- Billing & Payments
- Announcements
- Holiday Management
- Analytics Dashboard
- Dashboard Overview
- Leave Management
- Attendance Tracking
- Bill Viewing
- Notifications
- Mess Selection
- Settings Management
- Smart Menu Suggestions
- Automated Notifications
- Predictive Analytics
- Role-Based Access Control
- Firebase Authentication
- Firestore Security Rules
- Real-time Data Sync
- Framework: Next.js 14 - React framework with App Router
- Language: TypeScript - Type-safe JavaScript
- Styling: Tailwind CSS - Utility-first CSS framework
- UI Components: Shadcn/ui - Modern component library
- Icons: Lucide React - Beautiful icon set
- Backend-as-a-Service: Firebase
- Authentication
- Firestore NoSQL database
- Security Rules
- Hosting
- AI Framework: Genkit - Google's generative AI toolkit
- Charts: Recharts - Composable charting library
- Package Manager: npm/yarn
- Build Tool: Next.js built-in
- Linting: ESLint
- Type Checking: TypeScript
- Version Control: Git
- Node.js 18.x or higher
- npm or yarn package manager
- Firebase project with Firestore enabled
- Google AI API key (for AI features)
-
Clone the repository
git clone https://github.com/your-username/mydinner.git cd mydinner -
Install dependencies
npm install # or yarn install -
Environment Setup
cp .env.example .env.local
-
Configure Firebase
- Create a Firebase project at Firebase Console
- Enable Authentication and Firestore
- Copy your Firebase config to
.env.local
-
Configure Google AI
- Get your API key from Google AI Studio
- Add it to your
.env.local
npm run dev
# or
yarn devOpen http://localhost:3000 to access the application.
- Sign Up/Login as Admin
- Create Mess with unique join code
- Manage Students - Approve registrations
- Schedule Menus - Plan daily meals
- Handle Billing - Generate and confirm payments
- Send Announcements - Communicate with students
- Sign Up with mess join code
- View Dashboard - Check meals and attendance
- Apply for Leave - Request time off
- View Bills - Check payment status
- Stay Updated - Read announcements
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
This project is licensed under the MIT License - see the LICENSE file for details.
Eat Smart, Live Better – Revolutionizing Meal Dining