Skip to content

jiyu0903/flask_todo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Flask Todo App using SQLAlchemy and SQLite database. Updated with full REST API feature.

For styling, semantic-ui was used on the original version of the repository. To lessen the workload of browsing into semantic-ui.com, I just made the styles inside the Base.html using CSS in this new repository.

New Feature (Full REST API)

The new feature allows the Todo list to be used not just through the HTML interface, but also programmatically—via API calls. This means other apps, JavaScript front-ends, or even mobile apps can now create, read, update, and delete todos. It adds flexibility and modern integration potential, making the app much more powerful and scalable.

I aldo added a Due Date feature for the to-do list. So that the user will be able to add the to-dos deadlines.

Setup

Create project with virtual environment

$ mkdir myproject
$ cd myproject
$ python3 -m venv venv

Activate it

$ . venv/bin/activate

or on Windows

venv\Scripts\activate

Install Flask

$ pip install Flask
$ pip install Flask-SQLAlchemy

Set environment variables in terminal

$ export FLASK_APP=app.py
$ export FLASK_ENV=development

or on Windows

$ set FLASK_APP=app.py
$ set FLASK_ENV=development

Run the app

$ flask run

About

Simple Flask Todo App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 54.7%
  • HTML 45.3%