Skip to content

Click4News/geojson-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

click4news-geojson-api

GeoJSON aggregation service
Fetch raw news messages (each containing a GeoJSON FeatureCollection) from MongoDB Atlas, merge all features, and expose a single combined FeatureCollection at /geojson.


Table of Contents


Features

  • FastAPI‑powered HTTP server
  • Motor (async MongoDB client)
  • Single endpoint: GET /geojson
  • CORS configured for both local dev and your production frontend
  • Runs in Docker & deploys easily to Cloud Run

Prerequisites

  • Python ≥ 3.9
  • MongoDB Atlas cluster & connection URI
  • Docker (optional, for containerized runs)
  • Google Cloud project with Cloud Build & Cloud Run (optional)

About

program that can make request and get data from MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors