README.md

Starmapper #

Take a photo of the night sky → get constellations and your coordinates.

FastAPI backend (Railway) + Supabase Postgres + Next.js frontend (Vercel).

Run #

cd backend
cp .env.example .env   # fill in your values
pip install -r requirements.txt
uvicorn app.main:app --reload

Docs: http://localhost:8000/docs

Frontend #

cd frontend
npm install
cp .env.local.example .env.local   # set NEXT_PUBLIC_API_BASE
npm run dev   # http://localhost:3000  (/debug for live sensor diagnostics)

Captures phone sensors + a photo and runs the full pipeline (star-ID is mocked until the real service lands) into POST /locate. See frontend/README.md.

Features #

See CLAUDE.md for project layout and how to add a feature.