Skip to content

Latest commit

 

History

History

back

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

springboot-sample-app

DnD Online back-end

Requirements

For building and running the application you need:

Prerequisite

  • MySQL database (see application.properties)
    • create the db 'dnd' by hand
  • After launchin the app, call post localhost:8080/rest/v1/register { username: $username, password: $password} to add the first ADMIN user

Running the application locally

There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the de.codecentric.springbootsample.Application class from your IDE.

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

mvn spring-boot:run