-
Notifications
You must be signed in to change notification settings - Fork 596
Home
Eugen edited this page Oct 2, 2018
·
35 revisions
- [REST With Spring] (http://bit.ly/restwithspring)
git clone https://github.com/eugenp/REST-With-Spring.git
cd REST-With-Spring
mvn clean install
mvn cargo:run -f um-webapp/pom.xml
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=h2
And of course, if you are going to use MySQL, you'llneed to run a MySQL instance locally and you'll need to either change the default credentials here, or create the following user/password in your local installation
The project uses the following technologies:
-
web/REST: Spring 4.2.x
-
marshalling: Jackson 2.x (for JSON) and the new Jackson XML extension (for XML)
-
persistence: Spring Data JPA and Hibernate
- persistence providers: H2, MySQL
-
testing: junit, hamcrest, mockito, rest-assured
- this is a Maven project, so you can use any major IDE that has Maven support (Eclipse, IntelliJ, etc)