|
||
---|---|---|
.. | ||
android | ||
assets | ||
ios | ||
lib | ||
linux | ||
macos | ||
test | ||
web | ||
windows | ||
.gitignore | ||
.metadata | ||
README.md | ||
analysis_options.yaml | ||
pubspec.lock | ||
pubspec.yaml |
README.md
Kantin App
A Flutter application for canteen management with user and admin roles.
Features
- Clean Architecture (Presentation, Domain, Data layers)
- User Authentication with roles (User/Admin)
- User Dashboard:
- Browse food items
- Cart management
- Order tracking
- Chat support
- Profile management
- Admin Dashboard:
- Menu management
- Order management
- User management
- Analytics
- Inventory management
Getting Started
Prerequisites
- Flutter SDK (^3.5.4)
- Dart SDK (^3.5.4)
Installation
- Clone the repository
git clone https://github.com/yourusername/kantin_app.git
- Install dependencies
flutter pub get
- Run the app
flutter run
Demo Credentials
-
Admin:
- Email: admin@example.com
- Password: admin123
-
User:
- Email: user@example.com
- Password: user123
Project Structure
lib/
├── data/
│ ├── models/
│ ├── repositories/
│ └── datasources/
├── domain/
│ ├── entities/
│ ├── repositories/
│ └── usecases/
└── presentation/
├── providers/
├── screens/
│ ├── onboarding/
│ ├── auth/
│ ├── user/
│ ├── admin/
│ └── features/
└── widgets/
Dependencies
- provider: State management
- shared_preferences: Local storage
- flutter_svg: SVG support
- go_router: Navigation
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request