An intuitive barangay-to-community mobile application for announcement creation management system.
- NodeJS
- Dart
- Flutter
- FirebaseCLI
- Clone the project.
git clone https://github.com/NexusphereCo/ebayan.git
cd ebayan
flutter run
- Import dependencies
dart pub get
- Setup/Initialize project to firebase.
npm install -g firebase-tools
dart pub global activate flutterfire_cli
flutterfire configure --project=ebayan-nexusphere
- Run the program.
flutter run
This is what the json data should look like
{
"__collections__": {
"subjects": { // root collection
"ITMC212": { // documentId
"className": "Intermediate Programming",
"__collections__": { // document sub-collection
"materials": {
"re152lyjhdA": {
"type": "video",
...
}
}
}
},
"ISMC211": { // documentId
"className": "Introduction to Technopreneurship",
"__collections__": { // document sub-collection
...
}
}
}
}
}
After running creating the data, run this command.
firestore-import --accountCredentials serviceKey.json --backupFile data.json
firestore-export --accountCredentials serviceKey.json --backupFile data.json --nodePath collectionA/docId/...
Dart fix
Run this command if there's any fixes that needs to be done if VSCode prompts the message
dart fix --apply
How to clean flutter
Run this command if there are build errors found in development. This refreshes the entire dependencies.
flutter clean
flutter pub get
This project is licensed under the MIT License - see the LICENSE file for details.
We greatly appreciate contributions to this project. Special thanks to the following contributors for their valuable input and efforts: