https://github.com/nomilkinmyhome/todo-list
A simple todo list in Flask.
https://github.com/nomilkinmyhome/todo-list
flask python3 sqlalchemy task todo
Last synced: 3 months ago
JSON representation
A simple todo list in Flask.
- Host: GitHub
- URL: https://github.com/nomilkinmyhome/todo-list
- Owner: nomilkinmyhome
- License: wtfpl
- Created: 2020-10-05T13:21:13.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-10-18T12:36:17.000Z (over 5 years ago)
- Last Synced: 2025-12-26T10:04:58.686Z (6 months ago)
- Topics: flask, python3, sqlalchemy, task, todo
- Language: Python
- Homepage: https://nomilkinmyhome-todolistapp.herokuapp.com/
- Size: 217 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## todo-list
A simple todo-list application written in Python 3 with Flask and SQLAlchemy.
Home page: https://nomilkinmyhome-todolistapp.herokuapp.com/
API docs: https://nomilkinmyhome-todolistapp.herokuapp.com/api/v1

---
### **Database creation**
**In postgresql:**
1. ```CREATE DATABASE todolist_db;```
2. ```CREATE USER todolist_user WITH ENCRYPTED PASSWORD '1';```
3. ```GRANT ALL PRIVILEGES ON DATABASE todolist_db TO todolist_user;```
### **How to run the app**
**In virtual environment:**
1. ```pip install -r requirements-development.txt```
2. ```python manage.py db stamp head```
3. ```CONFIG_FILE=configs/development.cfg python manage.py db upgrade```
4. ```CONFIG_FILE=configs/development.cfg python initialize.py```
5. ```CONFIG_FILE=configs/development.cfg python app.py```
### **Some examples via Postman**
**Authorization**
URL: https://nomilkinmyhome-todolistapp.herokuapp.com/api/v1/auth/login

**Todo creation**
URL: https://nomilkinmyhome-todolistapp.herokuapp.com/api/v1/todo/create

**Todo editing**
URL: https://nomilkinmyhome-todolistapp.herokuapp.com/api/v1/todo/1
