Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

Convene Handbook

Thank you all for joining this project! I’m excited to see what we can build here. This readme will outline some ideas for how we can make this work, but remember, this is all up to change, and if you have any ideas on how to do something better I would love to hear them!

Convene Roadmap

Link to Figma Design: https://www.figma.com/file/pJE13ASCU1thA5lvosadv0/Convene?node-id=0%3A1

How this project will work?

Short answer is we will figure it out as we go, but I have created a starting point for something we can work with. If you think there is some way we can do things better, please let me know.

Proposals and Ideas

There is a template for proposals, use this for any idea or proposal for what you would like to see in the application. Or in the project in general.

Tasks

The workflow for accomplishing tasks should look like this:

  1. Select task you want to work on
  2. Assign it to yourself
  3. Complete the task
  4. Create a pull request
  5. Wait for 2 reviewers to code review your task

Rules:

Code Reviews

Code reviewers will be expected to assign themselves to any code reviews that they deem capable of reviewing. Once you selected the code to review, assign yourself as a reviewer and you will have 24 hours to complete the code review.

Total point summary

Task TypeTaskPoints
APAccepted Proposal1
BFBug Found (during review)1
LFLarge Feature4
MFMedium Feature3
SFSmall Feature2
LBLarge Bug Fix3
MBMedium Bug Fix2
SBSmall Bug Fix1

Current Points will be recorded in points.md, and must be updated during your task or by me for AP and BF.

All points are subject to change, and sometimes there might be tasks that will have to overrule the point system.

Firebase Emulator Configuration

There are many ways around for this the one which will be listed below is efficient in my POV.

Initialize a Firebase project

This step is important, if u already have an initialization ready with the emulators u can skip this.

Terminal

  1. To get started create a folder backend (any applicable name would be fine) outside of the project.
mkdir backend && cd backend
  1. run firebase login and login with your associated account. Skip if you are already logged in
  2. run firebase init please follow the flow to initialize your project. From the first prompt make sure to select firestore and emulators. Once you reach the emulator prompt select the authentication,firestore (we can install others later if we require them).

After you have finished the initialization you will see a file called firebase.json you would see some thing like this

{
  "firestore": {
    "rules": "firestore.rules",
    "indexes": "firestore.indexes.json"
  },
  "emulators": {
    "auth": {
      "port": 9099
    },
    "firestore": {
      "port": 8080
    },
    "ui": {
      "enabled": true
    }
  },
  "storage": {
    "rules": "storage.rules"
  }
}

All the emulators will be by default pointing to your localhost.

In my case the default (localhost) configuration doesn’t work for me. This default configuration will only work on emulators and simulators. To make it work for all devices we have to point the host to our network ip (your desktop ip).

{
  "firestore": {
    "rules": "firestore.rules",
    "indexes": "firestore.indexes.json"
  },
  "emulators": {
    "auth": {
      "host": "0.0.0.0",
      "port": 9099
    },
    "firestore": {
      "host": "0.0.0.0",
      "port": 8080
    },
    "ui": {
      "enabled": true
    }
  },
  "storage": {
    "rules": "storage.rules"
  }
}

Adding the host as 0.0.0.0 will set the emulators to your network ip ex. (192.168.8.131).

  1. To start the emulators run firebase emulators:start

Setting it to Flutter Project

{
  "ip": "192.168.8.131",
  "auth_port": 9099,
  "firestore_port": 8080
}

Starting the app

If you start the app without the provided args this will point to your production database.

Download & contribute to this app on GitHub

https://github.com/tadaspetra/conveneapp
Exit mobile version