Skip to content
Loredana Crusoveanu edited this page Jul 18, 2020 · 35 revisions

Resources

Quick Start

git clone https://github.com/eugenp/REST-With-Spring.git
cd REST-With-Spring
mvn clean install

Switch to a module branch:

git checkout module1

Start a lesson project:

cd m1-lesson4
cd um-webapp
mvn spring-boot:run

Persistence

By default, the project uses the H2 in-memory DB and - persistence-h2.properties.

If you want to switch to - for example - MySQL - you'll need to specify a different property on startup:

persistenceTarget=mysql

And of course, if you are going to use MySQL, you'll need to run a MySQL instance locally and you'll need to either change the default credentials in the persistence-local.properties file, or create the following user/password in your local installation: restUser / restmy5ql

Clone this wiki locally