- Create simple project using SpringBoot with Kotlin (prefer) or Java.
- API provide just one endpoint.
http://<host>:<port>/v1/users/{seed}
- Response random user from Random User API with input seed.
- Response only Firstname, Lastname, Gender, E-Mail.
- Push code to GitHub for assignment reviewed.
-
./gradlew bootRun
to running server default port is8080
-
./gradlew test
to running test -
ktlint -F
to formatting kotlin code style with ktlint if not installed you can install withbrew install ktlint