Skip to content

tq2/flasktodoapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo Application

A simple to-do list application built with Flask and SQLAlchemy.

Requirements

  • Flask
  • Flask-SQLAlchemy
  • SQLite

Usage

  1. Clone the repository to your local machine:
$ git clone https://github.com/1saNe/flasktodoapp.git
  1. Install the required packages:
$ pip install -r requirements.txt
  1. Set the environment variable for the database URI:
$ export TODO_DATABASE_URI="sqlite:///<database_location>.db"
  1. Create the database and tables:
from app import db
db.create_all()
exit()
  1. Run the application:
$ python app.py
  1. Open your web browser and navigate to http://localhost:5000/ to access the to-do list.

Features

  • Add new to-dos
  • Mark to-dos as complete
  • Delete to-dos

Contributing

  1. Fork the repository
  2. Create a new branch for your changes
  3. Commit your changes
  4. Open a pull request

About

Flask Todo App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •