mehuljain91 / spring-boot-rest-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-rest-api

REST APIs to

Insert new record in database
Get the record based on given id
Update the existing record
Delete the record based on given id
Get all records

Requirements

For building and running the application you need:

Running Application

Alternatively you can use the Spring Boot Maven plugin like so:

mvn spring-boot:run

Or you can

  • Download the zip or clone the Git repository.
  • Unzip the zip file (if you downloaded one)
  • Open Command Prompt and Change directory (cd) to folder containing pom.xml
  • Open Eclipse
    • File -> Import -> Existing Maven Project -> Navigate to the folder where you unzipped the zip
    • Select the right project
  • Choose the Spring Boot Application file (search for @SpringBootApplication)
  • Right Click on the file and Run as Java Application
  • Application will start running on localhost

About


Languages

Language:Java 100.0%