Skip to content

Sample To-do list application featuring Flask, redis, json. haml and vanilla js.

Notifications You must be signed in to change notification settings

makevoid/flask-todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI sample to-do list app

Sample To-do list application featuring:

  • Flask
  • mako
  • pyHaml
  • python 3
  • vanilla js
  • axios
  • redis
  • json

Note: If you're looking for the FastAPI version of this To-Do app then visit: https://github.com/makevoid/fastapi-todo-app

Install

pip install flask redis mako git+https://github.com/mikeboers/pyhaml

Prerequisites

You need to have Redis running locally listening on the default port 6379.

Run

python3 app.py

This will run the python app using the development server.

Then visit http://localhost:3000

Reset

Delete is not currently implemented, to flush redis open the cli via:

redis-cli

Then issue a flushdb command:

127.0.0.1:6379> flushdb

All your todos will be deleted.

Production

I recommend to set up waitress, uvicorn or another production-grade server if you plan to finish/improve and host the final application.


Enjoy!

@makevoid

About

Sample To-do list application featuring Flask, redis, json. haml and vanilla js.

Resources

Stars

Watchers

Forks