https://github.com/mlomboglia/my-bank
Build a Restful using Spring Boot, H2, JPA
https://github.com/mlomboglia/my-bank
h2-database java jpa rest-api spring spring-boot
Last synced: over 1 year ago
JSON representation
Build a Restful using Spring Boot, H2, JPA
- Host: GitHub
- URL: https://github.com/mlomboglia/my-bank
- Owner: mlomboglia
- Created: 2019-03-14T16:49:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T16:32:54.000Z (over 6 years ago)
- Last Synced: 2025-03-07T14:16:16.077Z (over 1 year ago)
- Topics: h2-database, java, jpa, rest-api, spring, spring-boot
- Language: Java
- Homepage: https://medium.com/@mlombog/lets-create-a-crud-rest-api-with-spring-boot-jpa-and-h2-fc070006e654
- Size: 10.7 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot, H2, JPA, Rest API Tutorial
Build Restful CRUD API for a simple bank application using Spring Boot, H2 and JPA.
## Requirements
1. Java - 1.8.x
2. Maven - 3.x.x
## Setup
**1. Clone the application**
```bash
git clone git@github.com:mlomboglia/my-bank.git
```
**2. Build and run the app using maven**
```bash
mvn spring-boot:run
```
The app will start running at .
## Explore Rest APIs
The app defines following CRUD APIs.
GET /accounts/all
GET /accounts/{id}
POST /accounts/new
PUT /accounts/{id}
Param: double amount
You can test them using postman or any other rest client.
## Learn more
https://medium.com/@mlombog/lets-create-a-crud-rest-api-with-spring-boot-jpa-and-h2-fc070006e654