This is a simple Todo application built with Golang for the API, Vite React for the frontend, and Kubernetes for deployment.
- Installation
- Usage
- Deployment
- Contributing
- Navigate to the
backend
directory:cd backend
- Run the Go server:
go run main.go
- Navigate to the
frontend
directory:cd frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev
Once both the backend and frontend servers are running, you can access the application at http://localhost:3000
.
- Build the Docker image for the Go server:
docker build -t hanyi00i/back:v1 ./backend
- Push the Docker image to your repository:
docker push hanyi00i/back:v1
- Build the Docker image for the React frontend:
docker build -t hanyi00i/front:v1 ./frontend
- Push the Docker image to your repository:
docker push hanyi00i/front:v1
- Ensure you have Kubernetes and Docker installed and configured.
- Apply the Kubernetes configuration:
kubectl apply -f kubernetes
Contributions are welcome! Please open an issue or submit a pull request.