Demonstrates the capabilities of the Spring MVC Web framework through small and simple example of course-api.
In this showcase you'll see the following in action:
- The simplest possible CRUD.
- leveraging @Controller.
- Mapping Requests.
- Obtaining Request Data.
- Using the inbuilt derby database and Spring Data JPA.
- Spring boot.
- Spring CrudRepository.
- Identify the resources/entity.
- Check how consumer can access the resource using HTTP.
- Topic, Course, Lesson
| Topic1 | Topic2 | ||| |Course1 |Course2 |Course3 | |||___| |Lesson1 | Lesson2 |Lesson2 | Lesson4 |Lesson5 | |||||___________|
- GET /topics
- GET /topics/t_id
- POST /topics
- PUT /topics/t_id
- DELETE /topics/t_id
- GET /topics/t_id/courses
- GET /topics/t_id/courses/c_id
- Import this project as Spring Boot project.
- Build the same and let the maven download all the dependecies.
- For all the sample request response, check the file \course-api\sample request-response\course-api.postman_collection.json.
- Import this collection file into Postman rest client.
- Test the requests and responses.