Skip to content

This project shows how to use spring boot rest api and storing the responses to the database.

Notifications You must be signed in to change notification settings

dev-techguy/spring-boot-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-rest-api

This project shows how to use spring boot rest api and storing the responses to the database.

Guide.

  • For better understanding download the project and follow the steps.

Tools

Step 1.

  • After downloading the project create a database name called api and set the database username and password in the file application.properties in the resource folder
  • Run the project. This will start the project at http://localhost:8080/

Step 2 (Adding new user).

   http://localhost:8080/api/v1
   
   params name,email and phoneNumber

Step 3 (Fetching Single Record)

   http://localhost:8080/api/v1
   
   params id

Step 4 (Deleting Single Record)

   http://localhost:8080/api/v1
   
   params id

Step 5 (Fetching All Records)

   http://localhost:8080/api/v1/all

Step 6 (Update new user).

   http://localhost:8080/api/v1
   
   params id,name,email and phoneNumber

Hope You Understood the flow. O_o

About

This project shows how to use spring boot rest api and storing the responses to the database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages