java-tutorials/spring-rest-full
Loredana Crusoveanu d047b2e676
Merge pull request #6834 from amit2103/BAEL-13458
[BAEL-13458] - Update Spring REST Metrics article, spring boot 2, mic…
2019-05-12 18:03:05 +03:00
..
src [BAEL-13458] - Update Spring REST Metrics article, spring boot 2, micrometer implementation 2019-04-27 19:48:09 +05:30
.gitignore
README.md [BAEL-14320] - Moved code for Intro to Spring Data JPA Article 2019-05-12 15:29:26 +05:30
pom.xml [BAEL-13458] - Update Spring REST Metrics article, spring boot 2, micrometer implementation 2019-04-27 19:48:09 +05:30

README.md

=========

REST Example Project with Spring

Courses

The "REST With Spring" Classes: http://bit.ly/restwithspring

The "Learn Spring Security" Classes: http://github.learnspringsecurity.com

Relevant Articles:

Build the Project

mvn clean install

Set up MySQL

mysql -u root -p 
> CREATE USER 'tutorialuser'@'localhost' IDENTIFIED BY 'tutorialmy5ql';
> GRANT ALL PRIVILEGES ON *.* TO 'tutorialuser'@'localhost';
> FLUSH PRIVILEGES;

Use the REST Service

curl http://localhost:8082/spring-rest-full/auth/foos