java spring boot-data rest api
Create rest api and use the http request methods for database, these functions are quite simple with spring-data-rest ✅
-First, create database (databaseName:lost, tableName:actors) and i will add few character of lost movie i love :
now, go to:
https://start.spring.io/
and create spring initializr :
now, open the file downloaded from the start.spring and write required codes :
now, inject the database in project and set port number :
- if you want to run the project on your computer, you must be configure again to your database for database connection
- Let's open the postman and test the http request methods :