GitHunt

Label Vision

Label Vision is a mobile application that scans product labels and provides information using voice assistance.

The project consists of:

React Native (Expo) Mobile App

FastAPI Backend

PostgreSQL Database

Project Structure
label-vision
├── backend → FastAPI + PostgreSQL
└── create-anything/_/apps/mobile → React Native App

Backend Setup

  1. Go to backend folder
    cd backend

  2. Create virtual environment
    python -m venv venv
    venv\Scripts\activate

  3. Install dependencies
    pip install -r requirements.txt

  4. Configure environment variables

Create .env file and add:

DATABASE_URL=postgresql://postgres:password@localhost:5432/label_vision
SECRET_KEY=your-secret-key
DEBUG=True

  1. Initialize database
    python init_db.py

  2. Run backend server
    python main.py

Backend runs on:

http://localhost:8000

PostgreSQL Setup

Install PostgreSQL

Create database:

label_vision

Update database URL in .env

Mobile App Setup (React Native Expo)

  1. Go to mobile folder
    cd create-anything/_/apps/mobile

  2. Install dependencies
    npm install

  3. Set API URL

Create .env or add in config:

EXPO_PUBLIC_API_URL=http://YOUR_PC_IP:8000

Example:

EXPO_PUBLIC_API_URL=http://192.168.0.16:8000

  1. Start mobile app
    npx expo start

Scan QR using Expo Go.

Features Implemented

FastAPI backend with structured API routes

PostgreSQL database integration using SQLAlchemy

Authentication APIs

File upload API

Scan history APIs

CORS configuration for mobile app

React Native connected to backend using API URL

Languages

JavaScript43.8%TypeScript31.2%Python23.4%Shell0.7%Batchfile0.5%CSS0.5%

Contributors

Created February 9, 2026
Updated February 9, 2026
MANASA-NUKALA/label-vision | GitHunt