Skip to content

fernandocruz/spring-boot-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-sample

Scaffold of a Maven project with spring-boot. Included BOWER configuration for AngularJS and Bootstrap. Just run the following command on the base folder of the application.

bower install

Proposed Exercise:

Write a set of REST services with two endpoints:

  • GET service to retrieve the Greeting Message of the Day
  • POST service to change the current Greeting Message.

Observations:

  • The Greeting Message should be a Spring Bean.
  • The Greeting Message could be stored on memory. It can be a Singleton.
  • The application should be self-contained
  • The application SHOULD NOT use WEB.XML or any spring XML configuration.

Challenge 1:

Use JERSEY instead of Spring Web

Challenge 2:

Write a set of JUNIT Tests to test the endpoints.

Challenge 3:

Write an Angular Application to show the current Greeting Message, and a form to change it. Bonus points if using IIFE. Extra-bonus points for using one-time binding when showing the Greeting Message.

About

Sample (empty) spring-boot-application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 71.8%
  • HTML 15.8%
  • JavaScript 12.4%