Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API with Spring Boot, Mysql, JPA.

Setup

  1. Clone the application
https://github.com/givanthak/spring-boot-rest-api-tutorial.git
  1. Create Mysql-database
create database user_database

  1. Change username and password in Mysql
  • open src/main/resources/application.properties

  • change spring.datasource.username and spring.datasource.password as per your mysql installation

  1. Build and run the app using maven
mvn package
java -jar target/spring-boot-rest-api-tutorial-0.0.1-SNAPSHOT.jar

Alternatively, you can run the app without packaging it using -

mvn spring-boot:run

The app will start running at http://localhost:8080.

About

REST API with Spring Boot, MySQL, and JPA

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages