Ever wanted to be a superhero? OpenAEDMap gives you that chance. By pinpointing AED locations via OpenStreetMap, we equip you with the power to save lives. Save a life today by visiting OpenAEDMap.org.
🔧 This repository hosts the backend code.
For frontend implementations, please see openaedmap-frontend.
- Automated OSM Updates: Downloads data and updates from OpenStreetMap.
- AED Information: Serve comprehensive details about specific AED locations.
- Vector Tiles: Create and serve vector tiles for map rendering.
- Regional GeoJSON: Generate downloadable GeoJSON files by region.
- Photo Integration: Allows uploading and viewing of photos of individual AEDs.
- Production — main branch: openaedmap.org
- Development — dev branch: dev.openaedmap.org
Before you jump in, make sure to install the ❄️ Nix package manager. It's your shortcut to seamless dependency management and reproducible environment setup. It will save you lots of time and spare you from unnecessary stress.
# Install dependencies and enter shell
nix-shell
# Start up the database
dev-start
# Launch the web server
uvicorn main:app
Navigate to http://localhost:8000 to access the web app locally.
# Terminate the database
dev-stop
# Purge database
dev-clean