Web服務-SpringBoot-JPA
使用 Spring boot、JPA 和 SQL 資料庫的專案 Web 服務
使用Java、Spring Boot、JPA技術結合SQL關聯式資料庫創建的Web服務,該應用程式由Heroku展示。
申請可在:
https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/
您可以使用任何 HTTP 請求工具來測試該服務。
例如:https://reqbin.com/
可用服務
用戶:
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/users
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/users/id
[發布] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/users
{
"name": "Maria sales",
"email": "[email protected]",
"phone": "9775979797",
"password": 123456
}
[放置] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/users/id
{
"name": "Bob",
"email": "[email protected]",
"phone": "9775979797"
}
[刪除] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/users/id
產品:
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/products
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/products/id
類別:
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/categories
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/categories/id
命令:
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/orders
[取得] https://andrealvesdc-web-serve-sb-jpa.herokuapp.com/orders/id
領域模型
實例模型