Es un proyecto centralizado en la parte backend del proyecto LibrerIA, en donde tiene lo esencial y lo importante para que tenga logica y sea dinamico la aplicacion.
AquĂ tienes los controladores en formato de referencia API, sin renderizar como Markdown:
## API Reference
### GeneroController
#### Get all Generos
```http
GET /api/generos
Parameter | Type | Description |
---|---|---|
None | None | Get all Generos from database |
POST /api/genero/agregar
Parameter | Type | Description |
---|---|---|
genero |
object | Required. Genero to add |
POST /api/genero/actualizar
Parameter | Type | Description |
---|---|---|
genero |
object | Required. Genero to update |
GET /api/genero/existe/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Genero |
GET /api/genero/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Genero |
GET /api/generos/todos
Parameter | Type | Description |
---|---|---|
None | None | Count of all Generos in database |
DELETE /api/genero/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Genero to delete |
DELETE /api/genero/eliminar
Parameter | Type | Description |
---|---|---|
genero |
object | Required. Genero to delete |
GET /api/autores
Parameter | Type | Description |
---|---|---|
None | None | Get all Autores from database |
POST /api/autor/agregar
Parameter | Type | Description |
---|---|---|
autor |
object | Required. Autor to add |
POST /api/autor/actualizar
Parameter | Type | Description |
---|---|---|
autor |
object | Required. Autor to update |
GET /api/autor/existe/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Autor |
GET /api/autor/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Autor |
GET /api/autores/todos
Parameter | Type | Description |
---|---|---|
None | None | Count of all Autores in database |
DELETE /api/autor/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Autor to delete |
DELETE /api/autor/eliminar
Parameter | Type | Description |
---|---|---|
autor |
object | Required. Autor to delete |
GET /api/administradores
Parameter | Type | Description |
---|---|---|
None | None | Get all Administradores from database |
POST /api/administrador/agregar
Parameter | Type | Description |
---|---|---|
administrador |
object | Required. Administrador to add |
POST /api/administrador/actualizar
Parameter | Type | Description |
---|---|---|
administrador |
object | Required. Administrador to update |
GET /api/administrador/existe/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Administrador |
GET /api/administrador/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Administrador |
GET /api/administradores/todos
Parameter | Type | Description |
---|---|---|
None | None | Count of all Administradores in database |
DELETE /api/administrador/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Administrador |
DELETE /api/administrador/eliminar
Parameter | Type | Description |
---|---|---|
administrador |
object | Required. Administrador to delete |
GET /api/libros
Parameter | Type | Description |
---|---|---|
None | None | Get all Libros from database |
POST /api/libro/agregar
Parameter | Type | Description |
---|---|---|
libro |
object | Required. Libro to add |
POST /api/libro/actualizar
Parameter | Type | Description |
---|---|---|
libro |
object | Required. Libro to update |
GET /api/libro/existe/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Libro to check |
GET /api/libro/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Libro |
GET /api/libros/todos
Parameter | Type | Description |
---|---|---|
None | None | Count of all Libros in database |
DELETE /api/libro/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Libro to delete |
DELETE /api/libro/eliminar
Parameter | Type | Description |
---|---|---|
libro |
object | Required. Libro to delete |
GET /api/categorias
Parameter | Type | Description |
---|---|---|
None | None | Get all Categorias from database |
POST /api/categoria/agregar
Parameter | Type | Description |
---|---|---|
categoria |
object | Required. Categoria to add |
POST /api/categoria/actualizar
Parameter | Type | Description |
---|---|---|
categoria |
| object | Required. Categoria to update |
GET /api/categoria/existe/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Categoria |
GET /api/categoria/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Categoria |
GET /api/categorias/todos
Parameter | Type | Description |
---|---|---|
None | None | Count of all Categorias in database |
DELETE /api/categoria/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Categoria |
DELETE /api/categoria/eliminar
Parameter | Type | Description |
---|---|---|
categoria |
object | Required. Categoria to delete |
GET /api/editoriales
Parameter | Type | Description |
---|---|---|
None | None | Get all Editoriales from database |
POST /api/editorial/agregar
Parameter | Type | Description |
---|---|---|
editorial |
object | Required. Editorial to add |
POST /api/editorial/actualizar
Parameter | Type | Description |
---|---|---|
editorial |
object | Required. Editorial to update |
GET /api/editorial/existe/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Editorial |
GET /api/editorial/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Editorial |
GET /api/editoriales/todos
Parameter | Type | Description |
---|---|---|
None | None | Count of all Editoriales in database |
DELETE /api/editorial/{id}
Parameter | Type | Description |
---|---|---|
id |
integer | Required. ID of Editorial to delete |
DELETE /api/editorial/eliminar
Parameter | Type | Description |
---|---|---|
editorial |
object | Required. Editorial to delete |
Server: Java, Spring Security, Hibernate, Spring Boot
Lombok
Google Guava
Apache Commons