Simple crud for handling and administration of articles with database and all the services of the CRUD concept.
Using Maven Command: Download the project source code. Go to the root folder of the project using command prompt and run the command.
mvn spring-boot:run
- Port:
http://localhost:8080
- Don't forget to change the MySQL user settings in
application properties
- Create : HTTP Method: POST.
POST - http://localhost:8080/cadena_tiendas/postEmpleados
- Read :
HTTP Method: GET.
GET - http://localhost:8080/cadena_tiendas/empleados
HTTP Method: GET [for specific id].
GET - http://localhost:8080/cadena_tiendas/empleado/{id}
- Update : HTTP Method: PUT.
PUT - http://localhost:8080/cadena_tiendas/empledo/{id}
- Delete : HTTP Method: DELETE.
DELETE - http://localhost:8080/cadena_tiendas/empledo/{id}
- Create : HTTP Method: POST.
POST - http://localhost:8080/cadena_tiendas/postTiendas
- Read :
HTTP Method: GET.
GET - http://localhost:8080/cadena_tiendas/tiendas
HTTP Method: GET [for specific id].
GET - http://localhost:8080/cadena_tiendas/tienda/{id}
- Update : HTTP Method: PUT.
PUT - http://localhost:8080/cadena_tiendas/tienda/{id}
- Delete : HTTP Method: DELETE.
DELETE - http://localhost:8080/cadena_tiendas/tienda/{id}
- Create : HTTP Method: POST.
POST - http://localhost:8080/cadena_tiendas/postProductos
- Read :
HTTP Method: GET.
GET - http://localhost:8080/cadena_tiendas/productos
HTTP Method: GET [for specific id].
GET - http://localhost:8080/cadena_tiendas/producto/{id}
- Update : HTTP Method: PUT.
PUT - http://localhost:8080/cadena_tiendas/producto/{id}
- Delete : HTTP Method: DELETE.
DELETE - http://localhost:8080/cadena_tiendas/producto/{id}