Skip to content

Brewdy is an app that allows users of a team or gang to store thier beverage preferrences and use that to order online beverages in bulk for their evening snacks or mini parties

Notifications You must be signed in to change notification settings

ShinuMathew/brewdy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brewdy is a simple app using flutter and firebase.

Brewdy allows users of a team or gang to store thier beverage preferrences and use that to order online beverages in bulk for their evening snacks or mini parties

Flutter firebase setup:

  • Create firebase account
  • Create a new project
  • Setup app for android
  • Provide the package name from android > app > build.gradle > applicationId in the register app.
  • Provide a nickname and register app
  • Download the google-service.json. This service file is an identifier that will tell the project which backend to connect to on firebase
  • Paste the google-service.json inside android > app
  • Add firebase sdk in your flutter project
    • Copy the dependency classpath classpath 'com.google.gms:google-services:4.0.1' and paste it in android > build.gradle > dependencies
    • Copy the plugin apply plugin: 'com.google.gms.google-services' from App-lelve build.gradle and paste it in android > app > build.gradle

To enable authentication in firebase

  • Select authentication and get started
  • Enable the service you want for authentication

IMPLEMENTATION NOTE:

  • Brewdy has a main widget ChaiWala which return a Wrapper widget
  • The Wrapper widget checks for the user current status(if authenticated or not).
    • If the user is not authenticated, it shows the Authentication widget.
      • The Authentication widget returns 2 widgets, SignIn and Register.
      • To listen to the authentication changes, we use a stream
    • If user is authenticated, it shows the Home widget.
      • The Home widget returns 2 widgets, BrewList and Settings.

About

Brewdy is an app that allows users of a team or gang to store thier beverage preferrences and use that to order online beverages in bulk for their evening snacks or mini parties

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published