This is a simple flask todo application and backend connected with local postgreSQL database. That can handle all ORDMS.
Todo flask application. This application manage all CURD operation by using SQLALCHEMY and server using a PostgreSQL database:
- creating new todo.
- delete existing todo list.
- add sub listing.
- delete sub listing.
Our tech stack will include:
- SQLAlchemy ORM to be our ORM library of choice
- PostgreSQL as our database of choice
- Python3 and Flask as our server language and server framework
- Flask-Migrate for creating and running schema migrations
- HTML, CSS, and Javascript for our website's frontend
First, install Flask if you haven't already.
$ pip install Flask
To start and run the local development server,
- Initialize and activate a virtualenv:
$ cd YOUR_PROJECT_DIRECTORY_PATH/
$ virtualenv --no-site-packages env
$ source env/bin/activate
- Install the dependencies:
$ pip install -r requirements.txt
- Run the development server:
$ set FLASK_APP=app.py
$ set FLASK_ENV=development # enables debug mode
$ python app.py
- Navigate to Home page http://localhost:5000
If you like this project please give it to star. โญ
Contact and give any feedback Fcebook