- Go
- PostgreSQL
- Gin
- Docker
- Helm
- Kubernetes
- Terraform
Follow these steps to set up the project locally on your machine.
Prerequisites
Make sure you have the following installed on your machine:
Cloning the Repository
git clone https://github.com/Ademayowa/k8s-api-deployment.gitgo mod tidycurl -X POST http://localhost:8080/properties \
-H "Content-Type: application/json" \
-d '{
"title": "Rent a two bedroom in Lisbon",
"description": "Rent a cool two bedroom in Lisbon",
"type": "apartment",
"status": "for_rent",
"price": 3000000,
"bedrooms": 2,
"bathrooms": 1,
"size_sqm": 120,
"address": "Portugal Lisbon",
"images": [
"https://example.com/images/property1_1.jpg",
"https://example.com/images/property1_2.jpg"
]
}'Open http://localhost:8080/properties in your browser to view all jobs.