https://github.com/lycan-nt/bookstore-api
A CRUD API for books and categories
https://github.com/lycan-nt/bookstore-api
api heroku java rest-api spring spring-boot web
Last synced: about 2 months ago
JSON representation
A CRUD API for books and categories
- Host: GitHub
- URL: https://github.com/lycan-nt/bookstore-api
- Owner: lycan-nt
- Created: 2022-04-14T08:59:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-24T14:08:55.000Z (over 3 years ago)
- Last Synced: 2025-01-18T12:27:35.238Z (over 1 year ago)
- Topics: api, heroku, java, rest-api, spring, spring-boot, web
- Language: Java
- Homepage: https://book-store-aplication.herokuapp.com/
- Size: 34.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bookstore-api
A CRUD API for books and categories

## Built with
- Java 8
- Gradle Project
- Jar
- Spring Web
- Spring Data JPA
- Data Base H2
## Instructions
To make use of the features implemented in this API use the
### API resources
- URL Base: https://book-store-aplication.herokuapp.com/
- Resource Categories
- Requisition Type: GET Route: /categorias/ID (Search a category by id)
- Requisition Type: GET Route: /categorias (Search all categorys)
- Requisition Type: POST Route: /categorias (Register a new category: receive a json with the name and description)
{
"nome": ""
"descricao": ""
}
- Requisition Type: PUT Route: /categorias/ID (change a category: receive a json with the name and description)
{
"nome": ""
"descricao": ""
}
- Requisition Type: DELETE Route: /categorias/ID (Delete a category by id)
- Resource Books
- Requisition Type: GET Route: livros/ID (Search a category by id)
- Requisition Type: GET Route: /livros?categoria=ID (Search all boocks for a category)
- Requisition Type: POST Route: /livros?categoria=ID (Register a new boock for a category: receive a json with the title, author name and text)
{
"titulo": "",
"nomeAutor": "",
"Texto": ""
}
- Requisition Type: PUT Route: /livros/ID (change a boock: receive a json with the title, author name and text)
{
"titulo": "",
"nomeAutor": "",
"Texto": ""
}
- Requisition Type: DELETE Route: /livros/ID (Delete a boock by id)
## Author
Felipe D. Santos
## License
MIT