Skip to content

Naresh240/springboot-with-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

springboot-with-database

Pre-Requisites:

Install GIT
Install Maven
Mysql Database Installation

Install GIT

yum install git -y

Install Maven

yum install maven -y

SetUP MYSQL in EC2-Instance

Mysql-Database-Setup

Clone the code to local machine

git clone https://github.com/Naresh240/springboot-with-mysql.git

Build Artifact using maven command

cd springboot-with-database
mvn clean install

Run Springboot application

java -jar target/springboot-with-database-1.0-SNAPSHOT.jar

Note:

Open port number 8888 with in security group

Create new customer using "/createnewcustomer" API

Open Post-man app and git URL with API as shown in below

image

Raw Data:

{
  "name": "Naresh",
  "country_of_birth": "INDIA",
  "country_of_residence": "AP",
  "segment": "retail"
}

Check List of customer in UI using "/listallcustomers" API

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages