Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thunderbug1/flutter-devcontainer-project-template-riverpod

Example project demonstrating how to develop a flutter project with authentication and riverpod based state management in VS-Code devcontainers
https://github.com/thunderbug1/flutter-devcontainer-project-template-riverpod

devcontainer flutter template-project

Last synced: about 23 hours ago
JSON representation

Example project demonstrating how to develop a flutter project with authentication and riverpod based state management in VS-Code devcontainers

Awesome Lists containing this project

README

        

# Flutter Firebase Authentication Riverpod

Updated version of this demo project: [Flutter Firebase Authentication Riverpod](https://github.com/2002Bishwajeet/authentication_riverpod/tree/master)
This Project demonstrates how to run a full flutter dev envrionment in a devcontainer in VS-Code
This repo contains a sample Flutter application that demonstrates the use of Firebase authentication to a Flutter app using Riverpod as a State management solution.

## TechStack Used

dart firebase flutter

## What does it do?

It is a sample Flutter application that demonstrates using a docker devcontainer and the use of Firebase authentication to a Flutter app using Riverpod as a State management solution.
Currently you can login using E-mail and Password or Google sign in.

## Developing on your local machine

1. Fork this repo
2. Clone it on your local machine
3. Run `flutter pub get`
4. In your Firebase console, register a new Firebase project and activate email and google authentification
5. Run `firebase login`
6. RUN `flutterfire configure` and follow the dialog to create the firebase_options.dart file
7. On your host machine, install the chrome extension [dart-debug extension](https://chrome.google.com/webstore/detail/dart-debug-extension/eljbmlghnomdjgdjmbdekegdkbabckhm)
7. Run `flutter run -d web-server` or open the main.dart file and press F5 (starting might take a while)
8. On your host' chrome browser, open the link that it shows you in the console
9. Start the debug extension on the page

That's it you are good to go. Basic email sign-up and login should be working now.

**Note: For a working google sign in you will have to do some extra configuration, depending on the platform you are using here is a [tutorial](https://blog.codemagic.io/firebase-authentication-google-sign-in-using-flutter/)

## Screenshots




## Live Working

## Contributing

Contrtibutions are welcome. Go ahead and fork this repo and create a pull request. Currently you can contribute by adding new features or fixing bugs. New features include like authentication using Facebook, Apple, Twitter and more. You can add more platform support for web, iOS, Windows and more.