https://github.com/garybake/playwithfastapi
Basic structure for fastapi project
https://github.com/garybake/playwithfastapi
Last synced: 3 months ago
JSON representation
Basic structure for fastapi project
- Host: GitHub
- URL: https://github.com/garybake/playwithfastapi
- Owner: garybake
- License: mit
- Created: 2021-07-14T11:57:53.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T06:43:23.000Z (about 2 years ago)
- Last Synced: 2024-12-06T20:38:22.480Z (over 1 year ago)
- Language: Python
- Size: 2.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# playwithfastapi
Basic pointless app, so I can toy around with structure and web toys.
v1.0
- Basic structure for fastapi project
- Jinja2 templating with bootstrap 5
uvicorn app.main:app
python -m app.main
For the locations page you will need to add the following env key from mapbox.com
`MAPBOX_API_KEY`
## Dev
pip install -r requirements-dev.txt
pre-commit install
Precommit runs the following
- Black
- Flake8
## Links
https://github.com/skb1129/fastapi-boilerplate
https://official-joke-api.appspot.com/random_joke
https://leafletjs.com/
## TODO
- Add more tests
- Add maps to front end