Loading repository data…
Loading repository data…
Federico-Rinaldi / repository
AirportSearch API is the official backend service for the AirportSearch web application
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
AirportSearch API is the official backend service for the AirportSearch web application.
It exposes a high-performance, scalable REST API built with FastAPI, designed to serve structured aviation data to modern frontend clients.
This repository represents the backend layer of the AirportSearch ecosystem.
AirportSearch is composed of two main components:
This repository is intended to be used together with the AirportSearch frontend.
This project includes:
The schema reflects the real production structure used by AirportSearch and allows developers to:
⚠️ Important:
The database data itself is currently private and not included in this repository.
A public data release is under evaluation and may be provided in the future.
git clone https://github.com/your-org/airportsearch-api.git
cd airportsearch-api
If you are using a container orchestration or container runtime solution, please refer to the Docker/Podman section.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
The application is configured entirely via environment variables, making it suitable for containers and cloud deployments.
Example:
DATABASE_URL=postgresql+psycopg://user:password@localhost:5432/airportsearch
Environment files (.env) are intentionally excluded from version control.
uvicorn app.main:app --reload
The API will be available at:
http://localhost:8000
podman build -f Dockerfile.prod -t airport-api .
podman run -d --name airport-api \
-p 8000:8000 \
--env DATABASE_URL='postgresql://dbuser:dbpassword@host.containers.internal:5432/dbname?options=-csearch_path%3DSchemaDb' \
airport-api
alembic upgrade head
alembic revision --autogenerate -m "describe your change"
Current status:
❌ Production data is not publicly available
✅ Database schema is open and versioned
🔜 Public dataset release is planned / under evaluation