Skip to content

An intuitive barangay-to-community mobile application for announcement creation management system.

License

Notifications You must be signed in to change notification settings

NexusphereCo/ebayan

Repository files navigation

eBayan: Bridging Communities; Boosting Progress

An intuitive barangay-to-community mobile application for announcement creation management system.

Flutter Dart Google Cloud Android NodeJS

Development 👨‍💻

Prerequisites

  • NodeJS
  • Dart
  • Flutter
  • FirebaseCLI

How to clone and run this project 👨‍👨‍👦‍👦

  1. Clone the project.
git clone https://github.com/NexusphereCo/ebayan.git
cd ebayan
flutter run
  1. Import dependencies
dart pub get
  1. Setup/Initialize project to firebase.
npm install -g firebase-tools
dart pub global activate flutterfire_cli
flutterfire configure --project=ebayan-nexusphere
  1. Run the program.
flutter run

Seeding 🌱

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/...

Miscellaneous 🤷‍♂️

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

License 📋

This project is licensed under the MIT License - see the LICENSE file for details.

Contributors 👊

We greatly appreciate contributions to this project. Special thanks to the following contributors for their valuable input and efforts:

About

An intuitive barangay-to-community mobile application for announcement creation management system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published