Caco Cooking is a food delivery application that connects restaurants with clients. It is developed in Flutter, a cross-platform framework that allows you to build native apps for Android and iOS from a single codebase. Caco Cooking uses Firebase as the backend service, Retrofit as the REST API client, and GetX and Provider as the state management, dependency injection, and route management solutions.
- Users can browse and order food from nearby restaurants
- Users can track their orders in real-time
- Users can rate and review their orders and restaurants
- Users can create and edit their profiles and preferences
- Users can receive push notifications about their orders and promotions
- Restaurants can manage their menus, orders, and ratings
- Restaurants can send push notifications to their customers
- Used the provider package for state management within the app
- Worked with firebase at the back end of the project.
- Used "Retrofit" for Firebase cloud messaging
- Used 'GetX' for state management, dependency injection, and route management
The following dependencies are required to run the Caco Cooking application:
- Flutter SDK (version 2.5.3 or higher)
- Dart (version 2.14.4 or higher)
- Open the project in Android Studio or Xcode
- Firebase Core (version 1.10.0 or higher)
- Firebase Auth (version 3.3.0 or higher)
- Firebase Database (version 9.0.0 or higher)
- Firebase Storage (version 10.0.0 or higher)
- Firebase Cloud Messaging (version 11.1.0 or higher)
- Retrofit (version 2.0.2 or higher)
- GetX (version 4.6.1 or higher)
- Provider (version 6.0.1 or higher)
To configure the Caco Cooking application, you need to follow these steps:
- Clone or download the source code from the GitHub repository
- Android Studio (version 4.2.2 or higher) or Xcode (version 13.0 or higher)
- Create a Firebase project and enable the following services: Authentication, Realtime Database, Storage, and Cloud Messaging
- Download the google-services.json file from the Firebase console and place it in the android/app folder
- Download the GoogleService-Info.plist file from the Firebase console and place it in the ios/Runner folder
- Run the following command in the terminal to install the dependencies:
flutter pub get
- Run the following command in the terminal to generate the Retrofit API client:
flutter pub run build_runner build
- Run the application on an emulator or a physical device