Week 4

Java Annotations

Introduction to REST

Spring Boot Setup

Writing Endpoints

Message Formats

Input Validation

Practice

Assignment

Back end Track

Under construction

<aside> 🚧

This page is currently under construction. Please check back later.

</aside>

Implementation plan:

  1. What is Spring and what is Spring Boot — framework vs opinionated framework
  2. Using start.spring.io to generate a project
  3. Selecting dependencies: Spring Web
  4. Importing the project into IntelliJ
  5. Project structure walkthrough: src/main/java, src/test/java, pom.xml
  6. The application class and @SpringBootApplication
  7. Running the application
  8. The embedded server (Tomcat) — no external server needed
  9. application.properties / application.yml — basic configuration

The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

CC BY-NC-SA 4.0 Icons

*https://hackyourfuture.net/*

Found a mistake or have a suggestion? Let us know in the feedback form.