Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismaildrs/vitality
Vitality is a Flutter application that allows users to interact with a chatbot.
https://github.com/ismaildrs/vitality
firebase flutter gemini getx mvc
Last synced: 26 days ago
JSON representation
Vitality is a Flutter application that allows users to interact with a chatbot.
- Host: GitHub
- URL: https://github.com/ismaildrs/vitality
- Owner: ismaildrs
- Created: 2024-05-03T13:30:02.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T11:27:10.000Z (8 months ago)
- Last Synced: 2024-11-13T19:11:44.737Z (3 months ago)
- Topics: firebase, flutter, gemini, getx, mvc
- Language: Dart
- Homepage:
- Size: 392 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vitality
![Platform](https://img.shields.io/badge/Platform-Flutter-blue.svg)
## Overview
Vitality is a Flutter application that allows users to interact with a chatbot. The chatbot is powered by the Gemini language model and utilizes the GetX ecosystem for state management. Firebase is used for backend services such as authentication and data storage. The app follows the Model-View-Controller (MVC) architecture for clean and maintainable code.
## Features
- **Chat with the bot:** Ask questions and get responses from the chatbot powered by Gemini.
- **User Authentication:** Secure authentication with Firebase.
- **State Management:** Efficient state management using GetX.
- **MVC Architecture:** Follows the Model-View-Controller pattern for organized code structure.## Screenshots
![image](https://github.com/ismaildrs/Health-fitness-app/assets/104438360/a9c156fc-73d1-4691-a7ad-e8965c85aea9)
## Getting Started
### Prerequisites
- Flutter SDK: [Install Flutter](https://flutter.dev/docs/get-started/install)
- Firebase account: [Create Firebase project](https://firebase.google.com/)
- Dart SDK### Installation
1. **Clone the repository:**
```bash
git clone https://github.com/ismaildrs/vitality.git
cd vitality
```2. **Install dependencies:**
```bash
flutter pub get
```3. **Configure Firebase:**
- Follow the instructions to add Firebase to your Flutter app: [Firebase Setup](https://firebase.flutter.dev/docs/overview)
- Update `android/app/google-services.json` and `ios/Runner/GoogleService-Info.plist` with your Firebase configuration.
3. **Change the API key:**
- Get your API key from Google AI Studio, and put it in the `main()` function4. **Run the app:**
```bash
flutter run
```## Usage
1. **Sign Up / Sign In:**
- Create a new account or log in using your credentials.
2. **Chat with the Bot:**
- Start a conversation by typing your question and receive responses from the Gemini-powered chatbot.## Architecture
The application follows the MVC architecture:
- **Model:** Defines the data structure and handles data-related logic.
- **View:** Represents the UI components and renders the data from the controller.
- **Controller:** Manages the data flow between the model and view, handling user input and updating the view.## Dependencies
- [Flutter](https://flutter.dev/)
- [GetX](https://pub.dev/packages/get)
- [Firebase](https://firebase.google.com/)
- [Gemini LLM](https://gemini.com/)## Contact
- **Author:** Ismail Drissi
- **Email:** [email protected]
- **GitHub:** [@ismaildrs](https://github.com/ismaildrs)