Skip to content

A Nextjs web app which generates random items and restaurants from Wolt

Notifications You must be signed in to change notification settings

itayoshri/woltroulette

Repository files navigation

logo

Wolt Roulette

Generates random items and restaurants from wolt

API

the api of the app contains 3 routes:

Location

  • api/location/prediction?search={...} - receives user's address as a query param and returns an array of places that match user's address
  • api/location/cords?placeId={...} - receives a place ID as a query param and returns its cordinations
  • api/location/state?cords={...} - receives cords as a query param and returns the city (state) that they are located in (according to Wolt's shipping areas)

Wolt

  • api/wolt/items?location={...,...} - receives cords as a query param and returns a random item from Wolt
  • api/wolt/restaurant?location={...,...} - receives cords as a query param and returns a random restaurant from Wolt

About

A Nextjs web app which generates random items and restaurants from Wolt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published