REST API using Java as a programming language, the Springboot framework, JPA and MySQL Workbench. Stores the basic data of the Cloud Vendors.
With this project I have learned how to create a REST-API from scratch using Springboot, JPA and MySQL.
· With Springboot, we have used the annotations @SpringBootApplitation, @RestController, @RequestMapping, @PathVariable, @RequestBody, @Service, @Entity...
· With JPA I have learned to perform a CRUD: the basic methods of get, put, post and delete.
· With MySQL I have created a database and I have learned to establish the connection between the Java application and the Database, in addition to configuring it.
· To test the correct functionality of the application, I used the Postman tool. We have created different requests like Create, GetAll, GetById, Update and DeleteById
· The project architecture follows the typical controller-service-model-repository structure
For this project we have used Spring Initializr (https://start.spring.io/), creating a project with the following characteristics and dependencies:
· Tested with Postman
Testing Create Method:
Testing GetAll Method:
Testing GetById Method:
Testing Update Method:
Testing Delete Method:
· Laura Gómez Ruiz
MIT Public License v3.0 It cannot be used commercially.