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

naijab/random-user-api-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random User API Demo Project

Requirements

  • 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.

Command

  • ./gradlew bootRun to running server default port is 8080

  • ./gradlew test to running test

  • ktlint -F to formatting kotlin code style with ktlint if not installed you can install with brew install ktlint