Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Excercise to create a REST controller using spring-boot

Notifications You must be signed in to change notification settings

kreait/spring-boot-excercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise: REST API using spring-boot

Excercise to create a REST controller using spring-boot

API

  • The REST API should offer one endpoint /v1/resources
  • Said endpoint returns a sorted list of resource objects

For example:

[

    {
        "id": "456",
        "value1": "another value",
        "value2": 1337,
        "createdAt": "14:45:00"
    },
    {
        "id": "123",
        "value1": "some value",
        "value2": 9000,
        "createdAt": "12:00:00"
    }

]

Testing

Tests for the endpoint are already implemented and need to be satisfied

About

Excercise to create a REST controller using spring-boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages