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
..
2018-06-05 13:35:55 +02:00
2018-07-12 09:04:54 +02:00
2018-07-17 13:26:01 -03:00

=========

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