This is a basic flask web app that serves the purpose of a todo-list. Functionalities include: adding tasks (and displaying by deadline), updating a task status, deleting a task, and clearing all tasks.
A list of technologies used within the project:
First, make sure Python3 is installed. Then navigate to the project directory. Afterwards, create & activate the flask environment and then install flask (and its SQLAlchemy module) with the following commands.
On Mac:
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
On Windows:
> py -3 -m venv venv
> venv/Scripts/activate
> pip install -r requirements.txt
Next, to run the Todo app, set the following environment variables.
On Mac:
$ export FLASK_APP=app.py
$ export FLASK_ENV=development
On Windows:
> set FLASK_APP=app.py
> set FLASK_ENV=development
And finally, to run the Todo web app, enter either of the following into your terminal:
$ flask run
or
$ python app.py
Afterwards, you should see something like this in the terminal: Copy and paste the url after "Running on" into your web browser and you will be able to use the todo web app. To stop running the web app, press CTRL+C to quit.