Skip to content

WebEngineering-FHNW/web-mvc-netopyr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Converter

Simple converter that demonstrates the MVC pattern

Assignment 1

Run the initial project

  1. Run mvn verify
  2. Run mvn spring-boot:run
  3. Open http://localhost:8080 in your browser
  4. Stop the program
  5. Import the project into your favourite IDE
  6. Run LengthConverterApplication.main() from your IDE
  7. Open http://localhost:8080 in your browser

Assignment 2

Create static content

  1. Replace the text "Hello World" with a form
  2. Style the page

Assignment 3

Implement a converter that converts inches into cm and mm:

  1. Implement the controller using TDD
  2. Define a view

Assignment 4

Implement support for feet

  1. Add a second input-field
  2. Add a second input parameter to the controller
  3. Add unit tests to also take the second value into account
  4. Improve the controller until all unit tests succeed

For aspiring professionals

Create a currency converter that allows to convert several currencies into each other. (Tip: Use hardcoded exchange rates.)

About

web-mvc-netopyr created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors