This is a To-Do List creating website, made using Python, Flask, HTML, CSS, JScript and JQuery.
Firstly setup a Virtual Environment by following the below steps:
- Open Windows Powershell with Run as Administrator, and enter command
Set-ExecutionPolicy RemoteSigned
. - Then install virtualenv, by using command
pip install virtualenv
. - Go to the folder, where you want to create the folder for your website. (Let it be named as 'VirtualEnv' (You can choose any name!)).
- Open Windows Powershell in that folder and run command
virtualenv <folder_name>
(Let <folder_name> be 'venv_folder'). - Go inside the new folder created (venv_folder) by running command
cd <folder_name>
. - Then run command
./Scripts/activate
. This will allow you to enter a functional virtual environment. - Then download the zip file of the code, and extract the zip inside this folder (<folder_name>, here 'venv_folder').
Then run the below commands:
pip install -r requirements.txt
So you can access in the local URL: localhost:5000
- After you run the above mentioned commands, go to the local host.
- There will be a text-box in the centre of the screen,where you have to enter your task and add it's deadline in the below 'Deadline' section.
- Once you enter both the things, click on the 'Add' button present on the screen.
- Once a task has been added successfully, a pop-up will be shown to confirm the same; otherwise if there is any mistake in the entered information, an alert will be shown.
- A table (representing the To-Do List) will be present on the screen which will contain details of all the successfully-added tasks, along with a check-box for each task, to show it's status (If completed then checked, otherwise unchecked).
- Also, you will be able to see the most urgent tasks (deadline within 2 hours) with red background, then comparitively low priority tasks (dealdline within 2-6 hours) with yellow background, and least priority tasks with light-purple background.
- Once the deadline for a particular task is crossed, it will be removed from the To-Do List.
- Python==3.9.0
- Flask==2.1.2
- Werkzeug==2.1.2
- BootStrap
- JQuery
- JScript