Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

tl;dr

a (work-in-progress) demonstration of: (1) a full-stack flutter application utilizing firebase and google cloud, and (2) ranked voting with the condorcet method.

components

data_flow

event flow

event_flow

youtube discussion about the project

rubber duck engineering #58

from july 29, 2021

getting started and local development

  1. copy server/server_config.example.yaml to server/server_config.yaml and
    populate the entries. see the details in server/lib/src/service_config.dart
    for the expected values.

    todo explain the values needed to run locally vs to deploy.

  2. make sure you have package:shelf_dev v2
    or later installed.
  3. run shelf_dev from the root of the repository to start the app. it will be
    hosted at localhost:8080.

deployment

todo sketching things out here, but this is incomplete at the moment.

  1. deploy services
    1. enable cloud tasks and create a task queue.
    2. enable cloud run.
      1. make sure the name of the service corresponds to the value in
        hosting/rewrites in firebase.json.
    3. set variables using server/tool/update_cloud_run_environment.dart.
    4. deploy cloud run service
  2. web app
    1. build the web app. flutter build web.
    2. deploy web app. firebase deploy.

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top