Skip to content

Flutter Frontend Application for the Recipy Project

Notifications You must be signed in to change notification settings

chauss/recipy_frontend

Repository files navigation

recipy_frontend

This is the frontend application for Recipy. Recipy is a recipe management software that allows you to save your recipes and more.

Builing freezed data classes

Some classes are annotated with @freezed. When changing them the following command needs to be run to generate the corresponding *.feezed.dart file:

dart run build_runner build

If there is an error message like "Could not find a file named "pubspec.yaml" in "/Users//.pub-cache/hosted/pub.dartlang..." the following could help troubleshoot:

rm -rf /Users/<username>/.pub-cache
flutter clean
dart pub get
flutter pub get

Firebase Hosting

  1. Install the firebase_tools
npm install -g firebase-tools
  1. Make sure you are authenticated with google
firebase login
  1. Initialize the project
firebase init
  1. Deploy the currently build web app Remember that you should have build the web app before running this (eg. with flutter build web)
firebase deploy
  1. To deploy a preview of the web app run
firebase hosting:channel:deploy preprod --expires 30d

Info:

  • preprod is the name of the channel, it can be exchanged for anything to not override the current preprod channel
  • 30d means 30 days and is currently to max time that can be set to expires

About

Flutter Frontend Application for the Recipy Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published