Home

Awesome

🍲 Foodish 🍛 Website Deploy to Production Contributions Welcome

Logo

A Node.js/Express.js REST API to GET a random picture of food dishes.

Demo

Visit https://foodish-api.com/

API Documentation

OpenAPI Specification Swagger v3: https://foodish-api.com/api-docs

Base URL for all endpoints https://foodish-api.com/

The response time will likely be a few seconds long on the first request, because this app is running on a free instance. Subsequent requests will behave as normal.

You may support the project here.

Endpoints

RoutesDescription
GET /api/Random food dish from random category.

Example Request-

GET /api/

Example Response-

{"image":"https://foodish-api.com/images/burger/burger101.jpg"}

RoutesDescription
GET /api/images/:foodRandom picture from food category.

Please visit the demo website to view the list of available food categories.

Example Request-

GET /api/images/biryani

Example Response-

{"image":"https://foodish-api.com/images/biryani/biryani32.jpg"}

Usage

Authors

Please note that I do not own any of the Foodish dataset images. All Foodish images and their ownership belong to their original creators mentioned below.

Support

Contributing

Please read the CONTRIBUTING for details on adding images to the Foodish Database.

Credits

Foodish would not be possible without the work of:

License

This project is licensed under MIT. Please read the LICENSE for details.


Foodish API is maintained by surhud004.