https://github.com/hamoudafares/countries
Backend & frontend that retrieves data from countries.geojson and plots it on a Mapbox map
https://github.com/hamoudafares/countries
angular countries fastapi geojson-polygon map mapbox mapbox-gl-js pydantic-models pyt python
Last synced: about 2 months ago
JSON representation
Backend & frontend that retrieves data from countries.geojson and plots it on a Mapbox map
- Host: GitHub
- URL: https://github.com/hamoudafares/countries
- Owner: hamoudafares
- License: mit
- Created: 2021-11-17T20:46:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T20:58:38.000Z (over 4 years ago)
- Last Synced: 2025-06-20T23:45:05.911Z (12 months ago)
- Topics: angular, countries, fastapi, geojson-polygon, map, mapbox, mapbox-gl-js, pydantic-models, pyt, python
- Language: TypeScript
- Homepage:
- Size: 374 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# to run the Frontend you need to have a mapbox Token
# you can have it easily from their platform and replace it in environment.ts (angular project)
# 1) backend
run the backend "uvicorn main:app --reload"
it should run on port 8000 ( if not change the backend port in environment.ts in the frontend)
# 2) frontend
run the angular frontend "ng serve"