Skip to content

internet-research-labs/go-color

Repository files navigation

Cloud API for Sharing Random Colors 🎨

Server that:

  • Displays a message about wtf color api is
  • Allows HTTP requests to request the current color
  • Allows websocket connections which sends a JSON message

API

  • GET http://localhost:8080/ Returns an HTML page displaying instructions.
  • GET http://localhost:8080/color Returns a JSEND respond announcing the current color.
  • WS ws://localhost:8080/socket Requests a socket connection to receive push-notifications when the color updates

About

🎨 go-color is an API server, which shares a color, which changes periodically, via HTTP Request and WebSocket onmessage update.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published