Skip to content
Loredana Crusoveanu edited this page Oct 23, 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-lesson5
cd um-webapp
mvn spring-boot:run

Persistence

By default, most of the lesson projects use 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