Skip to content

❤️ Backend powering OpenAEDMap.org — an OpenStreetMap's life-saving AED map

License

Notifications You must be signed in to change notification settings

openstreetmap-polska/openaedmap-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAEDMap Backend 🌍❤️

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.

🌟 Core Features

  • 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.

🌐 Deployed Instances

🛠️ Local Development

Getting Started

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.

Cleanup

# Terminate the database
dev-stop

# Purge database
dev-clean