Skip to content

ogzhnblgnn/springBootRestApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springBootRestApi


LAYERS
● Entities ➤ City
● Data Access Layer ➤ ICityDal, HibernateCityDal(@Repository)
● Business Layer ➤ ICityService, CityManager(@Service)
● RestApi ➤ CityController(@RestController)

You have to define your mySQL username and password parts in 'src -> main -> resources -> application.properties' file.
Required dependencies are given with 'pom.xml' and the World Database 'world.sql' file at the root folder.
For get the project up: You can run main package as Java Application or Spring Boot Application.

As you can see in the CityController:

localhost:8080/api
localhost:8080/api/cities
localhost:8080/api/cities/{id}
localhost:8080/api/add
localhost:8080/api/update
localhost:8080/api/delete

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages