Sign inSign up

bloque/reactive-hacker-news

By bloque

•Updated about 6 years ago

Exposes an endpoint to interface with hacker-news API

Image
0

75

bloque/reactive-hacker-news repository overview

⁠Usage guide

The reactive web-application built using Spring's Webflux and R2DBC on Java 11 exposes the following endpoints using HTTP GET method.

  • /health-check
  • /news/{newsType}?numberOfItems={positiveNumber}

Supported values for optional newsType path parameter are

  • top
  • best
  • latest The default value of newsType path parameter is top

The default value of optional query parameter numberOfItems is 3. Supplied value must be in the range 1 to 1024.

For source code, please refer to git hub repository https://github.com/viswanath7/webflux-demo⁠

Tag summary

Content type

Image

Digest

Size

110.5 MB

Last updated

about 6 years ago

docker pull bloque/reactive-hacker-news:1