Make sure Docker Desktop is running.
ctlptl delete cluster minikube
ctlptl create cluster minikube --registry=ctlptl-registry --minikube-start-flags="--cpus=2" --minikube-start-flags="--memory=4gb"
tilt up
curl -X POST "http://localhost:8080/v1/trips?org_id=test" -H "Content-Type: application/json" -d '{
"status": "draft",
"volunteer_limit": 10,
"name": "Cleaning up Nepal",
"description": "our mountains are piling up with trash from tourists! we need your help to clean them.",
"housing_type": "camping"
}'
curl -X PUT "http://localhost:8080/v1/trips/:trip_id?org_id=test" -H "Content-Type: application/json" -d '{
"status": "listed",
}'
curl -X GET "http://localhost:8080/v1/trips/:trip_id?org_id=test"
curl -X GET "http://localhost:8080/v1/trips?org_id=test"
curl -X GET "http://localhost:8080/v1/trips?org_id=test&status=listed"
curl -X GET "http://localhost:8080/v1/trips?org_id=test&status=listed&housing_type=camping"