Skip to content

zuch/kotlin-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Demo

Spring Boot Kotlin demo project using Spring WebFlux to call GitHub Public API

Design

design

API

Get all public repositories of a user

POST localhost:8080/users

Example Request Body

{
  "usernames" : [
    "charlax",
    "vinodtana",
    "tefra",
    "ansarinaeemakhtar",
    "cat"
  ]
}

Example Response Body

{
  "users": [
    {
      "username": "charlax",
      "name": "Charles-Axel Dein",
      "location": "New York",
      "bio": "Scaling teams, product and tech at a stealth startup",
      "public_repos": 104,
      "public_gists": 16,
      "followers": 1813,
      "following": 41
    },
    {
      "username": "ansarinaeemakhtar",
      "name": "Naeem Akhtar",
      "location": "Pune",
      "hireable": "true",
      "public_repos": 72,
      "public_gists": 6,
      "followers": 25,
      "following": 90
    },
    {
      "username": "cat",
      "name": "Nicola Bonelli",
      "location": "Italy",
      "public_repos": 1,
      "public_gists": 0,
      "followers": 27,
      "following": 1
    },
    {
      "username": "tefra",
      "name": "Chris Tsou",
      "location": "Greece",
      "public_repos": 39,
      "public_gists": 7,
      "followers": 33,
      "following": 7
    },
    {
      "username": "vinodtana",
      "name": "Vinod Tana",
      "company": "Xerve innovations pvt ltd",
      "location": "Bangalore",
      "public_repos": 12,
      "public_gists": 0,
      "followers": 1,
      "following": 2
    }
  ]
}

Getting Started

Reference Documentation

Guides

The following guides illustrate how to use some features concretely:

About

Spring Boot Kotlin using WebFlux to call API's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages