An open API service indexing awesome lists of open source software.

https://github.com/seanmisra/spring-coding-exercises

coding exercises with spring
https://github.com/seanmisra/spring-coding-exercises

Last synced: 3 months ago
JSON representation

coding exercises with spring

Awesome Lists containing this project

README

        

# spring-coding-exercises

Commits correspond to each exercise

1. Spring Boot setup
2. GET endpoint example (return "hello world")
3. POST endpoint example (return an object)
4. Use @Autowired for dependency injection (inject service in controller) - field injection
5. Use dependency injection - constructor injection
6. Use dependency injection with @Autowired - setter injection
7. Use JPA/H2 to store/retrieve data in-memory (add GET endpoint)
8. JPA/H2 - create/update/delete data (POST, PUT, DELETE endpoints)