A simple to-do list application built with Flask and SQLAlchemy.
- Flask
- Flask-SQLAlchemy
- SQLite
- Clone the repository to your local machine:
$ git clone https://github.com/1saNe/flasktodoapp.git- Install the required packages:
$ pip install -r requirements.txt- Set the environment variable for the database URI:
$ export TODO_DATABASE_URI="sqlite:///<database_location>.db"- Create the database and tables:
from app import db
db.create_all()
exit()- Run the application:
$ python app.py- Open your web browser and navigate to
http://localhost:5000/to access the to-do list.
- Add new to-dos
- Mark to-dos as complete
- Delete to-dos
- Fork the repository
- Create a new branch for your changes
- Commit your changes
- Open a pull request