Pollen Allergy Tracker is a personal web application designed to help individuals manage and monitor their pollen allergies. It gathers information on actual and forecasted active pollen levels and their severity from the DWD API (Deutscher Wetterdienst). Users can also input and document the severity of their allergy symptoms, which is then stored on a Supabase backend. This valuable data can be provided to medical professionals to develop targeted immunotherapy treatment plans.
I created this project because I had to manually write my allergy symptoms in a physical calendar, and that process was too much effort for me 😄.
Frontend in Dark Mode | Frontend in White Mode |
---|---|
- Displays current and forecasted pollen levels and their severity
- Allows users to input and track the severity of their allergy symptoms
- Stores user-input symptom data on a secure Supabase backend
- Generates comprehensive reports that can be shared with a doctor
- Basic knowledge of web development (HTML, CSS, and JavaScript)
- Access to the DWD API (no API key is required)
- A Supabase account to set up the backend
- Clone the Pollen Allergy Tracker repository:
https://github.com/Lukas-Klein/pollen-allergy-tracker
- Navigate to the project directory:
cd pollen-allergy-tracker
- Install the required dependencies:
npm install
-
Create a
.env
file in the root folder and add your Supabase credentials:- PUBLIC_SUPABASE_EMAIL=your_supabase_email
- PUBLIC_SUPABASE_KEY=your_supabase_key
- PUBLIC_SUPABASE_PASSWORD=your_supabase_password
-
Log in to your Supabase account and create a table named
Calendar
with the following columns:- Datum
- Augen
- Nase
- im_Haus
- Draußen
- Medikamente
- Pollenflug
-
Start the development server:
npm run dev
- Open your web browser and navigate to
http://localhost:5173
to view the website.
- To view the active pollen levels and forecasts, visit the homepage.
- To log the severity of your allergy symptoms, navigate to the "My Allergy Diary" page from the menu.
- Input the date, list of pollen allergens, and the severity of your symptoms.
- Click the "Submit" button to save your entry to the Supabase backend.
- Visit the "Reports" page to view a summary of your logged symptoms; you can download or print this data to share with your doctor to aid in the development of your immunotherapy plan.