Skip to content

A helpful tool to address analysis paralysis when trying to decide where to eat

Notifications You must be signed in to change notification settings

tydanny/foodwheel

Repository files navigation

Food Wheel

This is an RESTful API build with GoLang and the Gin Web Framework to determine what kind of food to eat. This was built using the following tutorial.

Motivation

This is designed to help relieve users of the analysis paralysis when deciding what to eat for lunch or dinner. At some point in the future there will be a Wheel of Fortune type wheel that cycles through food styles to provide visual feedback for this API.

Endpoints

/cuisines

  • GET - Get the list of all cuisines and their dishes
  • POST - Add a new cuisine or style of food from request data sent as JSON

/cuisines/:name

  • GET - Get a cuisine by its Name, returning its dishes as JSON

/spin

  • GET - Get a randomly determined style of food, returned as JSON

Note: For now cuisines are stored in memory for simplicity. A better design would be to use a database.

About

A helpful tool to address analysis paralysis when trying to decide where to eat

Resources

Stars

Watchers

Forks

Packages

No packages published