Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renancaraujo/dextrabooks
Dextra Books
https://github.com/renancaraujo/dextrabooks
Last synced: 20 days ago
JSON representation
Dextra Books
- Host: GitHub
- URL: https://github.com/renancaraujo/dextrabooks
- Owner: renancaraujo
- Created: 2016-01-31T11:39:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-11T10:32:30.000Z (almost 9 years ago)
- Last Synced: 2024-10-04T02:51:51.103Z (about 1 month ago)
- Language: Java
- Homepage: https://dextrabooks-1207.appspot.com
- Size: 1.04 MB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dextrabooks
https://dextrabooks-1207.appspot.com/# YAWP
http://yawp.io/# Google Cloud project
https://console.developers.google.com/home/dashboard?project=dextrabooks-1207# Google Datastore
https://cloud.google.com/appengine/docs/whatisgoogleappengine# Google Appengine Maven:
https://cloud.google.com/appengine/docs/java/tools/maven# Helpers cUrl
## Livro
#### Criar
curl -H "Content-type: application/json" -X POST -d "{'name': 'John', 'author': 'John', 'qtd': 4}" http://localhost:8080/api/book
#### Remover
curl -H "Content-type: application/json" -X DELETE http://localhost:8080/api/book/4##Usuario
#### Criar
curl -H "Content-type: application/json" -X POST -d "{'email': '[email protected]', 'nickname': 'Adasdas','isAdmin':false}" http://localhost:8080/api/user
#### Remover
curl -H "Content-type: application/json" -X DELETE http://localhost:8080/api/user/4##Emprestimos
#### Emprestar livro
curl -H "Content-type: application/json" -X POST -d "{'email': '[email protected]'}" http://localhost:8080/api/book/16/borrow
#### Devolver livro
curl -H "Content-type: application/json" -X PUT http://localhost:8080/api/loan/16/devolve