.. | ||
app | ||
backend | ||
frontend | ||
k8s | ||
Dockerfile | ||
namespace.yaml | ||
prepare-app.sh | ||
README.md | ||
service.yaml | ||
start-app.sh | ||
stop-app.sh | ||
YAN To-Do-List.zip |
Aplikácia To-Do List v Kubernetes
Application Description
This is a simple To-Do List web application that allows users to:
- Add new tasks
- Mark tasks as completed
- Delete tasks
- Filter tasks by their status (All, Active, Completed)
- Reorder tasks using drag-and-drop functionality
Aplikácia To-Do List v Kubernetes
Popis
Tento projekt nasadzuje aplikáciu "To-Do List" do Kubernetes. Používa niekoľko komponentov, ako sú deploymenty pre frontend a backend, StatefulSet pre ukladanie dát a služby na interakciu medzi komponentami.
Požiadavky
- Kubernetes (lokálne cez Minikube alebo v cloude)
- kubectl na správu klastru
- Docker na prácu s kontajnermi
- Lokálny alebo cloudový Docker repozitár (napríklad Docker Hub)
Prerequisites
- Kubernetes cluster (Minikube or similar)
- kubectl configured to communicate with your cluster
- Docker for building the application image
Prepare the Application
- Clone this repository
- Run the preparation script:
chmod +x prepare-app.sh ./prepare-app.sh
Start the Application
- Run the start script:
chmod +x start-app.sh ./start-app.sh
- The script will display the URL to access the application
Stop the Application
- Run the stop script:
chmod +x stop-app.sh ./stop-app.sh