Skip to content

tugrankenger/Spring-boot-spring-data-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Spring-boot-spring-data-rest-api

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 :

db

now, go to:

https://start.spring.io/ 

and create spring initializr :

initializr

now, open the file downloaded from the start.spring and write required codes :

intellij-1 intellij-2 intellij-3 intellij-4 intellij-5 intellij-6 intellij-7 intellij-8

now, inject the database in project and set port number :

Note:

  • if you want to run the project on your computer, you must be configure again to your database for database connection

application-properties

  • Let's open the postman and test the http request methods :

rest-api-crud

About

java spring boot-data rest api CRUD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages