java-tutorials/spring-rest-full
Anderson Barbosa a461fc35b6
Update README.md
server port in application.properties is 8082
FooController mapping is "/auth/foos"
2018-07-17 13:26:01 -03:00
..
src Bael 4461 2 (#4409) 2018-06-05 13:35:55 +02:00
.gitignore move query language to new module (#2864) 2017-10-25 18:39:04 +02:00
README.md Update README.md 2018-07-17 13:26:01 -03:00
pom.xml BAEL-5246: pom cleanup (#4620) 2018-07-12 09:04:54 +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