Create a Rest API with Spring Boot

Hi there, my name is Muzaffer Arda Uslu. I am a computer engineer student at Eskişehir Osmangazi University. I have been learning JAVA for two months. Now, I’m gonna try to explain how to create a simple Spring Boot Project.

How to Create a Spring Starter Project?

1- Model Package

Student.java

Course.java

2- Repository Package

StudentRepo.Java

CourseRepo.java

3- Service Package

StudentService.java

CourseService.java

4- Controller Package

StudentController.java

CourseController.java

https://www.postman.com/
I use Postman to send request.

Let’s Run The Application and Test HTTP Requests

{
"id": 125,
"studentName": "Arda",
"courses":[
{
"courseName": "Math"
}
]
}
{
"courseName": "English"
}

1- Post Method

2-Get Method

3-Put Method

4-Delete Method

Eskişehir Osmangazi University Computer Engineering Student. https://www.linkedin.com/in/muzafferardauslu/ https://github.com/ardasdasdas

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store