Welcome to FOSSCU APP! A mobile app made for FOSS-Community.
- FOSSCU Events: Register for tech events organized by FOSSCU directly from our app.
- FOSS-Community Updates: Get all the updates of FOSS-Community right at your finger tips.
- Resources: Hand Curated resources to kickstart your coding journey.
- Create your FOSSCU Account: With our FOSSCU Account on FOSSCU App and claim XPs.
Below are some screenshots showcasing different parts of the app.
- Flutter SDK: Install Flutter
- Dart SDK: Comes bundled with Flutter.
- Node.js and npm installed. You can download and install them from Node.js official website.
- An IDE like Android Studio or Visual Studio Code.
To get started with FOSSCU App, follow these steps:
Clone the Repository:
```bash
git clone https://github.com/FOSS-Community/fosscu-app.git
cd fosscu_app
```
Install Dependencies:
bash flutter pub get
-
Create an account on Airtable
-
Create a personal access token PAT
-
Create a new base inside a workspace
-
Under that base create a new table
-
Inside the
lib/constants
create a new file namedapikey.dart
const apikey = 'your_github_personal_access_token; const airtablePAT = 'your_airtable_personal_access_token'; const baseID = 'your_airtable_base_id'; const table = 'your_airtable_table_id';
-
Go to the Firebase Console.
-
Click on "Add Project" and follow the setup steps.
-
Install Firebase CLI
npm install -g firebase-tools
-
Install FlutterFire CLI -
dart pub global activate flutterfire_cli
-
run
firebase login
-
run
flutterfire configure
-
Select the Firebase project that you just created on the Firebase Console.
-
Now go to Firebase Console and
- Enable Authentication with Google as Sign in Provider
- Create a new Firestore Database
-
Create a new Debug SHA-1 and SHA-256 Keys Guide
-
Go to the Project Settings on the Firebase Console and the
SHA-1
andSHA-256
Keys in theSHA Certificate Fingetprint
Section.
- Connect a Device: Connect an Android or iOS device, or start an emulator.
- Build and Run:
flutter run
- Go to your Firestore Database
- Create a new collection named
admin
- Create a new document named
admin_right
inside theadmin
collection. - Add a new String type field inside the document with the email you want the admin access.
- example:
Field: admin1 Type: string Value: [email protected]
We welcome contributions to the FOSSCU App! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m "Add new feature"
- Push to the branch:
git push origin feature/your-feature-name
- Open a pull request.