Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/rahmancam/go-quote-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/rahmancam/go-quote-api

  • v0.0.0-20210204112600-2b584bacef4a
  • Source
  • Go
  • Socket score

Version published
Created
Source

Go Quote API

A simple golang quote API server (Docker and Kubernetes)

Run

  • To run the api server, run
docker-compose up

Test

  • To test the API use curl or postman.

POST Quote

  • URL: http://localhost:8080/quote
  • Body
{
    "author": "Jalal ad-Din Muhammad Rumi",
    "content": "What you seek is seeking you."
}

GET Quotes

[{
    "author": "Jalal ad-Din Muhammad Rumi",
    "content": "What you seek is seeking you."
}]

Deployment (Kubernetes cluster)

  • To deploy rum
chmod +x kubectl.sh
./kubectl.sh

FAQs

Package last updated on 04 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc