Access postges db with Python Fastapi backend and render map using Leaflet.js.
Installation
Usage
API Documentation
License
git clone https://github.com/thisAKcode/fastapi_streetart_map.git
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
cd app
python dbpg2.py
uvicorn main:app --reload
You can use that project to load your json data (points) into postgresql db, and then render a simple map in browser, otherwise works as a crud api. Limitation is that your data has to match the json schema of sample data.
wich tools to use.
Description of the API provided by the project will come as I work on that project, including details about the endpoints, request and response formats. Otherwise get a look at a docs generated by Swagger UI from my FastAPI code, that is pretty awesome.
Submit bug reports in issues, welcome with pull requests. Otherwise simple clone and develop on your own.
https://fastapi.tiangolo.com/advanced/templates/ FastAPI Street Art Map © 2022 by Aleksei Kupiakov is licensed under CC BY 4.0