Skip to content
API REST with Spring4 and OAUTH2 (example)
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Lombok Log added to centralized logger class Mar 2, 2018
.gitignore
README.md
pom.xml

README.md

SPRING-REST-API

Example of an API REST with Spring 4 and Spring Security with OAUTH2

Includes a small CRUD for a defined User Entity.

  • Remeber to add your datasource connection params at 'persistance.properties' file, to test.
  • When datasource added, comment in memory authentication and uncomment DB authentication.
  • Remember to add jdbc driver if using different than Mysql / Maria DB.
  • Once cloned, type 'mvn install tomcat7:run' in your command line to run.
  • Once running find app docs at: http://localhost:8080/restapp
  • For generating war file, type 'mvn clean install package'

You can see a small tutorial of Spring Rest an other Java releated topics (in spanish) at: https://codesolt.com/tutoriales/

Feel free to reach me at carlos.salazar@codesolt.com or find out more about me at https://carlos-salazar.com/ :)

You can’t perform that action at this time.