Skincare-Filter-Web-Application

Skincare Allergy Filter

codecov License: MIT Disclaimer: This app is a helper tool and not a substitute for professional medical advice. Always consult a dermatologist for severe allergies.


Project Overview

The Skincare Allergy Filter provides an instant safety check by cross-referencing product ingredient lists against a user’s personal allergen profile to flag potential sensitivities. The next milestone is the implementation of the Synonym Mapper, an intelligent alias-aware engine designed to resolve the industry-wide problem of ingredient labeling variability by mapping chemical synonyms and INCI names to single canonical allergens.


⚙️ Project Workflow Diagram

Diagram flow of data through application represents Phase 1 (exact matching) and Phase 2 (alias resolution) will extend the pipeline. Detailed workflow of the application components


Features

✅ Built

🔄 In Progress

📋 Planned


How It Works

  1. Users enter their personal allergies (e.g., nuts, parabens, fragrance).
  2. Users input the skincare product’s ingredient list.
  3. The application compares the ingredient list against the user’s allergies.
  4. The app returns a result:
    • Safe: No allergens detected.
    • Unsafe: Product contains one or more allergens.

Tech Stack


Quick Start

Get up and running in 5 minutes:

  1. Install uv (if not already installed):
    # Windows
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    
    # macOS/Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  2. Clone and navigate:
    git clone https://github.com/RJChoe/Skincare-Filter-Web-Application.git
    cd Skincare-Filter-Web-Application
    
  3. Set up Python environment:
    uv python install 3.13
    uv python pin 3.13
    uv venv
    uv sync --group dev
    
  4. Run migrations and start server:
    uv run python manage.py migrate
    uv run python manage.py runserver
    
  5. Run tests:
    uv run pytest
    
  6. Set up pre-commit hooks (optional):
    uv run pre-commit install
    

Note: Commands use uv run so manual venv activation is optional.


Documentation

Guide Description
Product Overview Feature scope, user flows, known limitations
Installation & Deployment Local setup, CI/CD, hosting providers
Testing & Coverage Running tests, coverage targets, patterns
ARCHITECTURE System design, data flow, decisions
Contributing Development workflow, code style, gates
Security Environment variables, production hardening

Usage

  1. Enter your personal allergies.
  2. Input the ingredients of a skincare product.
  3. Click “Check Safety”.
  4. View the results indicating whether the product is safe.

Screenshots/Demo

Here’s an example of how the app looks:

Coming Soon


Troubleshooting

Common setup issues and quick fixes:


Contact

- Developer: Rebecca Jisoo Simpson

- GitHub: RJChoe