Welcome to the BoB Financial Literacy Platform! This README will guide you through the process of setting up, running, and building the Flutter app. It will also provide an overview of the app's features and functionalities.
- Prerequisites
- Cloning the Repository
- Setting Up the Environment
- Running the App
- Building the APK
- App Features and Functionalities
- Backend Repository
- Troubleshooting
Before you begin, ensure you have the following installed:
- Flutter SDK
- Dart SDK
- Android Studio (for Android development)
- Xcode (for macOS and iOS development, if applicable)
- Visual Studio Code (optional but recommended)
- Node.js and npm (for backend and API interaction)
- Git (for version control)
-
Open your terminal (Command Prompt, PowerShell, or any terminal application).
-
Clone the repository using the following command:
git clone https://github.com/YourUsername/BoB_Flutter_App.git
-
Navigate into the project directory:
cd BoB_Flutter_App
-
Install Dependencies:
-
Ensure you are in the project directory.
-
Run the following command to install the required Flutter packages:
flutter pub get
-
-
Configure Android/iOS Development Environment:
-
For Android:
- Open
android/app/build.gradleand set the appropriateapplicationId. - Make sure the
android/gradle.propertiesfile is configured correctly.
- Open
-
For iOS (macOS only):
- Open the
ios/Runner.xcworkspacein Xcode and configure any required settings.
- Open the
-
-
Ensure your emulator or device is connected and set up.
-
Run the following command to start the app:
flutter run
-
Ensure your emulator or device is connected and set up.
-
Run the following command to start the app:
flutter run
-
Ensure your emulator or device is connected and set up.
-
Run the following command to start the app:
flutter run
-
Prepare the App for Release:
-
Open the terminal and navigate to the project directory.
-
Run the following command to build the APK:
flutter build apk --release
-
-
Locate the APK:
- After the build completes, you can find the APK file in the
build/app/outputs/flutter-apk/directory.
- After the build completes, you can find the APK file in the
The BoB Financial Literacy Platform includes the following key features:
-
Modules Generated by Gemini AI:
- Dynamic Content Generation: Daily financial advice modules are generated using Gemini AI.
- Interactive Widgets: Users can interact with these modules to receive personalized advice.
-
Goal Setting:
- Add and Track Goals: Users can set financial goals and track their progress.
- Goal Progress: Visual representation of goal progress with the ability to update and manage goals.
-
Savings Management:
- View Total Savings: Displays the total amount saved by the user.
- Add/Withdraw Savings: Allows users to add or withdraw savings, with the functionality to display recent transactions.
-
Assessment-Based Advice:
- Take Assessments: Users can take assessments to receive personalized advice.
- View and Manage Assessments: Track and manage assessment responses and advice based on their performance.
-
Profile Management:
- View and Update Profile: Users can view and update their personal information, preferences, and account settings.
-
Navigation:
- Bottom Navigation Bar: Quick access to Home, Savings, Goals, and Profile screens with smooth transitions.
For more detailed information about the backend setup and configuration, visit the BoB Node Backend Repository.
If you encounter issues, consider the following steps:
-
Check Dependencies:
- Ensure all dependencies are correctly installed and up-to-date.
-
Verify Configuration:
- Check the
.envfile for correct environment variable settings.
- Check the
-
Review Logs:
- Look at the output in your terminal or IDE for error messages.
-
Consult Documentation:
- Refer to the Flutter Documentation and Dart Documentation for additional help.
-
Seek Support:
- If the issue persists, consider asking for help on forums such as Stack Overflow or the Flutter community.
Feel free to contribute to the project or report any issues you encounter. Happy coding!