This website requires JavaScript.
Explore
Help
Sign in
vrubelroman
/
guideCity
Watch
1
Star
0
Fork
You've already forked guideCity
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
0cc8d9b767
guideCity
/
.env.example
5 lines
88 B
Text
Raw
Normal View
History
Unescape
Escape
Add FastAPI backend with PostGIS-backed nearby search FastAPI service backed by PostgreSQL+PostGIS: cities/places/place_content schema (normalized per-language, per-length content for easy future re-ingestion), Alembic migration, an iterative-radius-expansion nearby search endpoint, a name-search fallback for denied-location flows, and a YAML seed loader CLI. Verified end-to-end against a live Docker Postgres+PostGIS instance (migration, city seed, place/content CRUD, and nearby radius expansion all confirmed working via curl). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 18:31:29 +00:00
POSTGRES_USER=guidecity
POSTGRES_PASSWORD=changeme
POSTGRES_DB=guidecity
Add structured logging throughout the backend Request-level logging middleware (method/path/status/duration), per-module loggers in routes/services (nearby search radius expansion, 404s, name search), LOG_LEVEL setting wired through docker-compose, and seed_loader converted from print() to logging. Verified: pytest passes, and manually confirmed log lines appear for both successful and 404 requests via `docker compose logs api`. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 20:10:10 +00:00
LOG_LEVEL=INFO
Reference in a new issue
Copy permalink