Task Manager is a simple web application built with Flask that allows users to manage their tasks. Users can add new tasks, list all existing tasks, and remove a task. This application is a great starting point for beginners who want to learn Flask or hackathon colleagues who want to quickly build a simple application.
Deployed App URL - Live Demo - Flask Task Management App
To use this application, first clone the repository to your local machine:
git clone https://github.com/MuhammadNoorani/flask-taskmanagement-app.git
Then, navigate to the project directory and install the required dependencies:
cd <repository-name>
pip install -r requirements.txt
Follow this folder structure to run this app locally:
- myapp/
- app.py
- Dockerfile
- requirements.txt
- templates/
- index.html
- static/
- style.css
To run the application, execute the following command from the project directory:
python app.py
The application will start running at http://localhost:5000
. Navigate to this URL in your web browser to use the application.
Note: This application uses the local storage of your browser, so you don't need to be worried about your privacy.
The home page of the application (http://localhost:5000/
) displays a form to add new tasks. You can enter a task and click on "Add another task" to add more tasks. Once you have entered all the tasks you want to add, click on "Submit tasks" to add them to the task list.
The home page also displays a list of all the tasks that have been added so far. Each task in the list is numbered, and you can use the task number to remove a task. To remove a task, enter the task number in the "Enter task number" input field and click on "Remove task".
If you want to contribute to this project, please fork the repository and submit a pull request. Be sure to document your changes and add appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for more information.
For information on how to deploy this project as a Docker container, go to:
Docker Hub Repository - Docker Hub - Flask Task Management Image