https://github.com/l-vamsi-krishna/todo
Flask & CLI based ToDo application built with python
https://github.com/l-vamsi-krishna/todo
cli database flask flask-sqlalchemy python3 sqlite todo
Last synced: over 1 year ago
JSON representation
Flask & CLI based ToDo application built with python
- Host: GitHub
- URL: https://github.com/l-vamsi-krishna/todo
- Owner: l-vamsi-krishna
- Created: 2022-06-28T12:45:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-24T06:39:41.000Z (almost 4 years ago)
- Last Synced: 2024-10-23T20:11:46.317Z (over 1 year ago)
- Topics: cli, database, flask, flask-sqlalchemy, python3, sqlite, todo
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todo
[](https://github.com/l-vamsi-krishna/todo/actions/workflows/python-app.yml)
A Simple Todo application, which persists/updates/deletes to database.
It is updated to use sql alchemy to perform db operations, instead of sqlite connectors & cursors.
It uses autopep8 to implement pep 8 coding standards.
It can be used on CLI.
Run below command inside venv, to interact within CLI.
```
python todo/cli/todo.py
```

Flask GUI connects to the same database to perform db tasks.
Run below command to start flask web server.
```
python -m todo.web.app
```
The above command, considers top level directory in sys.path, hence relative imports work.

# Contributions
I would be very happy for any contribution.
# Next Steps
1. Currently Flask GUI just retrieves the data, need to provide option to update/delete the data.
2. Use Bootstrap to beautify GUI.