Tutorial Spring Boot, Mudahnya Membuat Rest API CRUD!
Tutorial ini dipisah untuk tiap aktifitas
atau bisa lihat di https://www.youtube.com/playlist?list=PL3UaiPxY2iuo0Bq-A_JrQg-ot9SDXCFX1
- Initial Project https://youtu.be/N5d3kPlKJkA
- Hello World https://youtu.be/ss3mWzNzocQ
- Connect H2 Database https://youtu.be/i5L7W05CZ08
- Create Entity (Table) https://youtu.be/BZ9pPWmPD8c
- Create Data (POST) https://youtu.be/r5385g0EKRk
- Read Data (GET) https://youtu.be/8nerEi_Gr2Y
- Read Detail Data (GET) https://youtu.be/NXW5o-JsXhc
- Update Data (PUT) https://youtu.be/jtffow6S52M
- Delete Data https://youtu.be/LsfKgJqwIyg
- Http Method https://youtu.be/E1_Cir6v2dQ
kamu juga bisa menjalankan service ini tanpa install kebutuhan jdk, melalui docker. syaratnya sudah ter-install docker di komputer kamu.
docker pull johnnyaustor/jap-spring-crud:tutorial-youtube
docker run --publish 8080:8080 johnnyaustor/jap-spring-crud:tutorial-youtube
POST http://localhost:8080/employee
GET http://localhost:8080/employee
GET http://localhost:8080/employee/{id}
PUT http://localhost:8080/employee/{id}
DELETE http://localhost:8080/employee/{id}
{ id:number, firstName:string, lastName:string }