Skip to content
TaiterbasePublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

vtrips

Usage

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

Testing

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"

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages