java-tutorials/spring-rest-full
Ger Roza 684ee6040e Added example for spring boot exception handling 2019-01-17 17:44:49 -02:00
..
src Removed most exception handlers from spring-rest-full (except the ones used in other articles) and moved them to spring-boot-rest 2019-01-15 18:45:36 -02:00
.attach_pid28499 Removed most exception handlers from spring-rest-full (except the ones used in other articles) and moved them to spring-boot-rest 2019-01-15 18:45:36 -02:00
.gitignore move query language to new module (#2864) 2017-10-25 18:39:04 +02:00
README.md Added example for spring boot exception handling 2019-01-17 17:44:49 -02:00
pom.xml Removed most exception handlers from spring-rest-full (except the ones used in other articles) and moved them to spring-boot-rest 2019-01-15 18:45:36 -02:00

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