openstreetmap-polska / openaedmap-backend

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

Home Page:https://OpenAEDMap.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://OpenAEDMap.org

License:GNU Affero General Public License v3.0


Languages

Language:Python 92.2%Language:Nix 5.4%Language:VCL 2.0%Language:Shell 0.5%