java-tutorials/spring-rest-full
Ger Roza 7ee231b817 [BAEL-11601] Move and update Testing REST with multiple MIME types article code
Moved the code and cleaned spring-rest-full module.
2019-02-24 11:49:28 -03:00
..
src [BAEL-11601] Move and update Testing REST with multiple MIME types article code 2019-02-24 11:49:28 -03:00
.gitignore move query language to new module (#2864) 2017-10-25 18:39:04 +02:00
README.md [BAEL-11597] Move and update Etags article 2019-02-24 09:40:25 -03:00
pom.xml [BAEL-11601] Move and update Testing REST with multiple MIME types article code 2019-02-24 11:49:28 -03: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