zkt25/z2/README.md

55 lines
1.3 KiB
Markdown

# 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
1. Clone this repository
2. Run the preparation script:
```
chmod +x prepare-app.sh
./prepare-app.sh
```
### Start the Application
1. Run the start script:
```
chmod +x start-app.sh
./start-app.sh
```
2. The script will display the URL to access the application
### Stop the Application
1. Run the stop script:
```
chmod +x stop-app.sh
./stop-app.sh
```