Welcome friends! This is the codebase for the Freemarket Stock App.
- Track real-time cryptocurrency prices.
- Receive personalized price alerts.
- Analyze trends with interactive charts.
Get the app itself:
- ios: App Store
- Android: Coming soon!
- Flutter : For building cross-platform apps with a single codebase
- CoinGecko API : For fetching real-time cryptocurrency data.
Follow these steps to set up and run the Freemarket project on your local machine for development.
Ensure you have the following installed:
- Flutter SDK: Installation guide
- Dart SDK (comes with Flutter).
- Xcode (for iOS development) or Android Studio (for Android development).
- A code editor like Visual Studio Code or Android Studio.
- Git: Download Git.
To configure Firebase for the project, follow these steps:
-
Create a Firebase Project
Go to the Firebase Console, create a new project, and follow the setup instructions. -
Add Firebase to your Flutter app
- For iOS, you need to download the
GoogleService-Info.plist
file from Firebase and add it to your iOS project directory (in theios/Runner
folder). - For Android, download the
google-services.json
file from Firebase and place it in theandroid/app
directory.
- For iOS, you need to download the
-
Enable Firebase Services
Depending on the services you're using in the app (e.g., Firebase Authentication, Firebase Firestore, Firebase Analytics), enable them in the Firebase console and follow any additional setup steps outlined in the Firebase documentation. -
Install Firebase Flutter Plugins
In yourpubspec.yaml
, add the necessary Firebase dependencies. For example:dependencies: firebase_core: ^latest_version firebase_auth: ^latest_version cloud_firestore: ^latest_version # Add other Firebase services you plan to use
-
Clone the Repository
Clone the project to your local machine using Git:git clone https://github.com/vuzzer/freemarket.git cd freemarket
-
Install Dependencies
flutter pub get
-
Run the Project
Run the app on a connected device or emulator
flutter run
-
Troubleshooting
If you encounter SDK-related errors, verify your Flutter installation by running :
flutter doctor
This project is licensed under the MIT License. See the LICENSE file for details.