This project has 2 parts, the flutter application and the Firebase backend services.
To host the project, you will need the codespace (which is this repo) and a Firebase account.
Here are the required Firebase services
- Authentication
- Cloud Firestore
- Hosting
Then, setup the firebase sdk for flutter: FlutterFire
First, install the Firebase CLI and activate FlutterFire CLI if you haven't, and run:
cd dlnt # assuming cloned this repo under dlnt
firebase login # flutterfire relies on firebase cli
firebase projects:list # confirm your login, it should list your Firebase projects
flutterfire configureFor more details, see also https://firebase.google.com/docs/flutter/setup?platform=web
Now, it should be ready to be built and deployed.
flutter build web
# it produces a folder `./build/web` which is ready for deployFor more details, see also https://docs.flutter.dev/deployment/web#deploying-to-the-web