Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.59 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.59 KB

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