Skip to content

This project is a Flutter application designed to manage a waitlist for a perfume product. It was an 8-hour non-commercial hackathon project. It includes features such as localization and integration with Firebase for saving waitlist data.

Notifications You must be signed in to change notification settings

ubu2020user/fragrance-waitlist-showcase

Repository files navigation

Fragrance: Eau Duelle

Project Description

This project is a Flutter application designed to manage a waitlist for a perfume product. It was an 8-hour non-commercial hackathon project.
It includes features such as localization and integration with Firebase for saving waitlist data.

[DEBUG] Flutter Test, Build

Showcase

Click Fragrance Website to see the results.

Project Structure

Setup Guide

Prerequisites

Environment Variables

This project uses environment variables to configure Firebase options. You can set these variables in a .env file or directly in your environment.

.env File

Create a .env file in the root of your project with the following content:

APIKEY=your_api_key
AUTHDOMAIN=your_auth_domain
PROJECTID=your_project_id
STORAGEBUCKET=your_storage_bucket
MESSAGINGSENDERID=your_messaging_sender_id
APPID=your_app_id
MEASUREMENTID=your_measurement_id

Using --dart-define-from-file

To use the .env file, you need to pass the environment variables to the Flutter build command:

flutter run --dart-define-from-file=.env
# or
flutter build web --dart-define-from-file=.env

Running the Project

I recommend adding --dart-define-from-file as argument to the run confiuration.
This way, you can run the application via the IDE/GUI.

  1. Install dependencies:
    flutter pub get
  2. Run the application:
    flutter run --dart-define-from-file=.env

Pipeline Setup

To use the pipeline for testing, building or deploying, you need to set up a GitHub Actions workflow and add the necessary secrets to your repository.

Important: To set the secrets, the environment must be called debug-environment. Alternatively change this name in the .github/ files.

Note: The pipeline is set up to run on pushes to the main branch. You can change this in the .github/workflows/main.yml file.

About

This project is a Flutter application designed to manage a waitlist for a perfume product. It was an 8-hour non-commercial hackathon project. It includes features such as localization and integration with Firebase for saving waitlist data.

Topics

Resources

Stars

Watchers

Forks