Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lgomezruiz/api-rest-h2

Simple REST API with basic knowledge of Spring Boot and using H2 in-memory database.
https://github.com/lgomezruiz/api-rest-h2

api-rest h2-database intellij java maven postman spring spring-boot spring-data-jpa spring-web

Last synced: 25 days ago
JSON representation

Simple REST API with basic knowledge of Spring Boot and using H2 in-memory database.

Awesome Lists containing this project

README

        

# API REST with H2
Simple REST API with basic knowledge of Spring Boot and using H2 in-memory database. In this case, the service manages information about different users, saving their ID, name, surname and email.

## Project preview
![Postman_1](https://github.com/lgomezruiz/api-rest-h2/assets/97950503/0e91a791-2945-42fc-96fc-db07c04270e3)

## Technologies:

![Java](https://img.shields.io/badge/Java-007396?style=for-the-badge&logoColor=white)
![Spring Boot](https://img.shields.io/badge/Spring%20Boot-6DB33F?style=for-the-badge&logo=springboot&logoColor=white)
![Postman](https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge&logo=postman&logoColor=white)
![IntelliJ IDEA](https://img.shields.io/badge/IntelliJ%20Idea-808080?style=for-the-badge&logo=intellijidea&logoColor=white)

Characteristics:
- Project: Maven
- Language: Java 17
- Spring Boot 3.2.5
- Packaging: Jar

Dependencies:
- Spring Web
- Spring Boot DevTools
- Spring Data JPA
- H2 Database

Connection to the H2 Database

![H2_1](https://github.com/lgomezruiz/api-rest-h2/assets/97950503/0a2349c0-b52e-4cd8-9884-3c3754ede59a)

Previously empty database

![H2_2](https://github.com/lgomezruiz/api-rest-h2/assets/97950503/3ffdf109-3bd3-4036-90f1-1a87096b217d)

Database with data saved through HTTP requests

![H2_3](https://github.com/lgomezruiz/api-rest-h2/assets/97950503/a12be6f9-50b8-4d46-83b4-2222ab29e1aa)

POST example

![Postman_1](https://github.com/lgomezruiz/api-rest-h2/assets/97950503/7dfaf200-eb87-4fc2-a7a3-b3d206477922)

GET example

![Postman_2](https://github.com/lgomezruiz/api-rest-h2/assets/97950503/2c2b0938-3da2-41a2-b6d0-a1ecb34b9f8f)

## Authors ✒️

- **Laura Gómez Ruiz**

[![Portfolio](https://img.shields.io/badge/Portfolio-CEE7FF?style=for-the-badge&labelColor=black&link=https%3A%2F%2Flauragomezruiz.netlify.app%2F)](https://lauragomezruiz.netlify.app/)
[![linkedin](https://img.shields.io/badge/LinkedIn-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/lgomezruiz/)