Simple converter that demonstrates the MVC pattern
Run the initial project
- Run
mvn verify - Run
mvn spring-boot:run - Open http://localhost:8080 in your browser
- Stop the program
- Import the project into your favourite IDE
- Run
LengthConverterApplication.main()from your IDE - Open http://localhost:8080 in your browser
Create static content
- Replace the text "Hello World" with a form
- Style the page
Implement a converter that converts inches into cm and mm:
- Implement the controller using TDD
- Define a view
Implement support for feet
- Add a second input-field
- Add a second input parameter to the controller
- Add unit tests to also take the second value into account
- Improve the controller until all unit tests succeed
Create a currency converter that allows to convert several currencies into each other. (Tip: Use hardcoded exchange rates.)