REST API Setup and Run (individual)
Setup the starter backend project
- download the Hero REST API starter project and extract it into a directory of your choice
- open a terminal and navigate to the extracted project directory (it contains pom.xml telling Maven how to build the project)
- execute the command mvn spring-boot:run to build and launch the project on a built-in web server
- open http://localhost:8080/heroes/11 in your web browser, you should see {"id":11,"name":"Mr. Nice"}
- open http://localhost:8080/heroes/99 (hero with id 99 doesn't exist) in your web browser, you should receive a 404 error
- if something doesn't work as intended and you cannot figure it out, ask for help of your TA or your instructor
Submission
Take a screenshot of the running website in your browser and submit it to the assignment submission page on myCourses.