A simple TODO app with Firebase Firestore as database & backend.
2023-06-07.01-34-45.mp4
- Data synced to Firebase Firestore
- Simple input validation: The data will not be updated if user give an empty value
- Switch to change theme
- Clone this project by running
git clone https://github.com/LapanApps/todo_ap.git
- Open project in vscode
- Run
flutter pub get
to install dependencies - To use your own Firebase project, run
flutterfire configure
. Learn more on: https://firebase.google.com/docs/flutter/setup - Run the app. You can use
flutter run
orF5
in vscode
https://todo-flutter-ukm.web.app/#/
You can deploy the Flutter web app to Firebase Hosting. Steps:
- Within the Flutter project, run
flutter build web
to build the web app - Run
firebase init
. Make sure you already install the Firebase CLI: https://firebase.google.com/docs/cli Are you ready to proceed? (Y/n)
-Y
Which Firebase CLI features do you want to set up for this folder? Press Space to select features, then Enter to confirm your choices.
- SelectHosting: Configure and deploy Firebase Hosting sites
- Enter- Select your Firebase project
What do you want to use as your public directory? (public)
-build/web
Configure as a single-page app (rewrite all urls to /index.html)? (y/N)
-N
Set up automatic builds and deploys with GitHub? (y/N)
-N
- Run
firebase deploy