Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faizan35/todo-app-python
Flask-based ToDo List Web Application for simple task management, featuring an organized structure and in-memory storage.
https://github.com/faizan35/todo-app-python
Last synced: about 1 month ago
JSON representation
Flask-based ToDo List Web Application for simple task management, featuring an organized structure and in-memory storage.
- Host: GitHub
- URL: https://github.com/faizan35/todo-app-python
- Owner: faizan35
- License: other
- Created: 2023-11-19T08:58:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-30T15:10:07.000Z (6 months ago)
- Last Synced: 2024-07-03T10:12:22.961Z (6 months ago)
- Language: HTML
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ToDo App - Python
## Description
This is a simple ToDo list web application built with Flask, a Python web framework.
![todo-img](static/todo-img.png)
## Prerequisites
- Python 3.11.5
## Getting Started
1. Clone this repository to your local machine.
```
git clone https://github.com/faizan35/todo-app-python.git
```2. Navigate to the project directory.
```
cd todo-app-python
```3. Install dependencies.
```
pip install -r requirements.txt
```4. Run the Flask application.
```
python app.py
```5. Open your browser and go to [http://localhost:5000](http://localhost:5000) to access the ToDo app.
## Usage
- Add a new task by entering it in the input field and clicking the "Add" button.
- Complete a task by clicking the "Complete" button next to the task.
- Delete a task by clicking the "Delete" button next to the task.## Docker
Build and run the Docker container.
```bash
docker build -t todo-app .
docker run -d -p 5000:5000 todo-app
```## DockerHub
1. Pull the image from DockerHub.
```bash
docker pull faizan44/todo-app
```2. Run the Docker container.
```bash
docker run -d -p 5000:5000 faizan44/todo-app
```Access the app at [http://localhost:5000](http://localhost:5000).
## Deploy on Kubernetes
1. You must have a k8s cluster.
2. Clone this repo. `git clone https://github.com/faizan35/todo-app-python.git`
3. Navigate inside the `k8s` dir in the repo.
4. Create the namespace `kubectl create namespace todo`
5. Execute this command```sh
kubectl apply -f .
```6. The application should be running on Port `30080`.
## Monitoring
sudo snap install helm --classic
helm repo update
---
## Contributing
Feel free to contribute to this project by opening issues or submitting pull requests.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.