Skip to content

an api built with spring-boot, JPA and H2 database

Notifications You must be signed in to change notification settings

Winnd11/api-springboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot Api

CRUD Api Rest build with spring boot, JPA, and H2 database

Intalation

  • Java >= 8
  • PostMan

Getting Started

  1. Clone this repo
git clone https://github.com/Winnd11/api-springboot.git
  1. run main

the app will run at http://localhost:5500


Get Methods

# Get Users Get User By Id
# db/user/get db/user/get/'id'

Post Methods

# Insert User Delete User Update User
# db/insert db/delete/'id' db/update/'id'

The post method to insert, delete and update a user must in row format and type json

{

"name":  "dave",

"email":  "dave@gmail.com",

"department":  {

"id":  2

}

}

MIT License

This project is licensed under MIT license, read more at docs.github

About

an api built with spring-boot, JPA and H2 database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages