Skip to content

mrbrianhobo/sliver.today

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

45 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ• sliver.today

โ„น๏ธ About

api.sliver.today is a free REST API for retrieving Sliver Pizzeria's pizza of the day.

๐Ÿ‘€ Demo

โžก๏ธ sliver.today

๐Ÿš€ Getting Started

Try it out!

# install dependencies and start development server
$ yarn && yarn dev
yarn install v1.22.0
[1/4] ๐Ÿ”  Resolving packages...
success Already up-to-date.
โœจ  Done in 0.35s.
yarn run v1.22.0
$ next
[ wait ]  starting the development server ...
[ info ]  waiting on http://localhost:3000 ...
[ info ]  bundled successfully, waiting for typecheck results...
[ ready ] compiled successfully - ready on http://localhost:3000

Now you can visit http://localhost:3000 and try out the frontend app!

Deploy your own!

Deploy your own project with Vercel.

Deploy with Vercel

โš™๏ธ Usage

Request

Retrieves a list of pizza menu objects.

GET https://api.sliver.today

Response

{
  "pizzas": [
    {
      "location": "telegraph",
      "date": "2020-05-06",
      "pizza": "Corn, Roasted Yukon Gold Potatoes, Baby Spinach Mixed with Caramelized Onions, Mozzarella, French Feta Cheese, with Avocado Spread."
    },
    {
      "location": "shattuck",
      "date": "2020-05-06",
      "pizza": "Wild Mushrooms (Shitake, Chanterelle, Portabella, Cremini Mushrooms), Mozzarella, Asiago Fresh, Green Scallons, Fresh Herbs, Infused Chanterelle Mushrooms, and Garlic Olive Oil."
    },
    {
      "location": "broadway",
      "date": "2020-05-06",
      "pizza": "Roasted Yukon Gold Potatoes, Baby Heirloom Tomatoes, Baby Spinach Mixed with Caramelized Onions, Mozzarella, Pecorino Cheese mixed with Fresh Herbs, and Infused Sage Garlic Oil."
    }
  ]
}

Query Parameters

location?: string

The location of the wanted pizza menu. Defaults to all. Supports telegraph, shattuck, broadway as parameters.

๐Ÿค” FAQ

Can I use this in my project?

Yup! Do whatever you want with it! Let me know if you're thinking of making something cool with it! ๐Ÿ˜Ž

Is it open source? Can I contribute?

Yes! Checkout my spaghetti code on Github and submit issues or bugs. ๐Ÿค–API ๐Ÿ‘จโ€๐Ÿ’ปSite

What else do you want to do with this?

I'm thinking about making this into a Slackbot/Discord Bot/Twitter Bot. It would also be pretty cool to index all the past pizzas that Sliver has served.

What did you use to make this?

Backend API: Golang + Colly (๐Ÿš€deployed on Google Cloud Run)
Frontend: Typescript + Next.js + MDX (๐ŸŽจstyled with Theme-UI + Emotion)

Why did you make this?

IDK. I really like Sliver. And I was bored. Really bored. ๐Ÿ˜ด

๐Ÿ“ License

MIT Licensed.

About

๐Ÿ• frontend for sliver.today

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published