forked from dockerinaction/ch11_coffee_api
-
Notifications
You must be signed in to change notification settings - Fork 0
tcheng/ch11_coffee_api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
$ docker-compose build
$ docker-compose pull
$ docker-compose up
$ curl -H "Content-Type:application/json" \
-X POST -d '{"name":"Albina Press", "address":" 5012 Southeast Hawthorne …", "zipcode":97215, "price":2, "max_seats":40, "power":true, "wifi":true}' \
http://localhost:8080/api/coffeeshops/
$ curl http://localhost:8080/api/coffeeshops/
{
"coffeeshops": [
{
"address": " 5012 Southeast Hawthorne \u2026",
"id": 1,
"max_seats": 40,
"name": "Albina Press",
"power": true,
"price": 2,
"wifi": true,
"zipcode": 97215
}
]
}
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 96.8%
- Shell 2.4%
- Dockerfile 0.8%