An open API service indexing awesome lists of open source software.

https://github.com/lgomezruiz/spring-boot-cloud-vendor-rest-api

REST API using Java as a programming language, the Springboot framework, JPA and MySQL Workbench. Stores the basic data of the Cloud Vendors.
https://github.com/lgomezruiz/spring-boot-cloud-vendor-rest-api

java jpa mysql rest-api spring-boot

Last synced: about 2 months ago
JSON representation

REST API using Java as a programming language, the Springboot framework, JPA and MySQL Workbench. Stores the basic data of the Cloud Vendors.

Awesome Lists containing this project

README

          

# CLOUD VENDOR REST-API

## Description 📑

REST API using Java as a programming language, the Springboot framework, JPA and MySQL Workbench. Stores the basic data of the Cloud Vendors.

## What have I learned in this project? 🙇🏻

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

![Imagen2](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/78895d05-617f-4a45-b22c-22027455d9a1)

For this project we have used Spring Initializr (https://start.spring.io/), creating a project with the following characteristics and dependencies:

![Imagen3](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/5b57282f-171b-4902-8a8d-92e749f4d116)

## Technologies 🛠

![Java](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge&logo=java&logoColor=white)
![Spring Boot](https://img.shields.io/badge/Spring%20Boot-6DB33F?style=for-the-badge&logo=springboot&labelColor=black)
![MySQL](https://img.shields.io/badge/MySQL-4479A1?style=for-the-badge&logo=MySQL&logoColor=white)
![Postman](https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge&logo=postman&labelColor=black)
![IntelliJ IDEA](https://img.shields.io/badge/IntelliJ%20IDEA-%23000000?style=for-the-badge&logo=intellijidea&labelColor=black)

## Project preview

· Tested with Postman

Testing Create Method:

![Create](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/9c19f5e1-3ecf-45e7-a6e3-ea34a12570ef)
![Create2](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/03ace4cb-d1e6-4442-b88b-72c5210dfc41)

Testing GetAll Method:

![GetAll](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/9dfaf47a-09ed-4238-902f-ee0cc1876a01)

Testing GetById Method:

![GetById](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/2ead1213-ec0e-4f05-ba2c-62c7fb3163b3)

Testing Update Method:

![Update](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/a19f4d46-d82f-4a6d-8e86-8c0ad1adb81b)

Testing Delete Method:

![Delete](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/dc60e402-181b-4dcc-a03b-edc334ea606c)
![Delete2](https://github.com/lgomezruiz/Spring-Boot-Cloud-Vendor-REST-API/assets/97950503/9202802b-8d5f-4301-aba5-3ca647612fec)

## Author ✒️
· **Laura Gómez Ruiz**

[![github](https://img.shields.io/static/v1?label=&message=github&color=171515&logo=github&logoColor=white&style=for-the-badge)](https://github.com/lgomezruiz)
[![linkedin](https://img.shields.io/static/v1?label=&message=linkedin&color=0e76a8&logo=linkedin&logoColor=white&style=for-the-badge)](https://www.linkedin.com/in/lgomezruiz/)

## License 📄
MIT Public License v3.0
It cannot be used commercially.