Skip to content

joshuarose/quotes-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

This is your quotes starter!

The canvas on which to paint your art

Short term urgent needs

  • Implement a go HTTP server using gin

  • It should listen on /quotes and respond to GET with a single random quote

  • Those quotes should be from the following sites. Add a minimum of 5 and a maximum of 20.

  • The json response from your API should match this syntax.

{
  "quote": "YOUR RANDOM QUOTE HERE",
  "author": "Jessie Gorrell"
}
  • Your random quotes can be in memory, hard-coded, pulled in from a file, or in a database. We suggest starting with hard-coded to keep things simple.

  • Ensure you are authed against GCP

gcloud auth login
  • Ensure you have set your active project
gcloud config set project name-apprentice
  • Deploy your service to cloud run by running and following the prompts. Name your service FIRSTNAME-service
gcloud run deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published