/yomato-backend

Find out what you can order and eat from Zomato based on how much you have.

Primary LanguageTypeScriptMIT LicenseMIT

yomato-backend

This repository contains the code for Yomato's APIs - find out what you can order and eat from Zomato based on how much you have on Yomato.

Running Locally

Clone this repository to your local machine, and then install dependencies by running:

yarn install

After that, you may spin up the backend by running:

yarn start

APIs

GET /menu

Requires a url query parameter of the restaurant that should adhere to the following regex: /^https:\/\/www\.zomato\.com\/([a-zA-Z]+)\/([a-zA-Z0-9\-]+)(?:\/[a-zA-Z0-9\-]+)?$/

Responds with the menu for that restaurant.

License

MIT