Sample To-do list application featuring:
- FastAPI
- mako
- pyHaml
- python 3
- vanilla js
- axios
- redis
- json
- docker
Note: If you're looking for the Flask version of this To-Do app then visit: https://github.com/makevoid/flask-todo-app
soon I will add a requirements.txt file for now you will need to install from docker or execute pip install manually of all the dependencies
pip install uvicorn fastapi aiofiles python-multipart redis mako git+https://github.com/mikeboers/pyhaml
You need to have Redis running locally listening on the default port 6379.
./run
This will run the python app via uvicorn.
Delete is not currently implemented, to flush redis open the cli via:
redis-cli
Then issue a flushdb command:
flushdb
All your todos will be deleted
Build and run:
docker-compose up --build
Connect to dev redis
redis-cli -p 6380
Enjoy!
@makevoid