Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tahirzia-1/recipe-generator

User enters ingredients (comma-separated) to get recipes. Uses spoonacular API.
https://github.com/tahirzia-1/recipe-generator

api css docker docker-image dockerfile flask flask-application html python3 recipe-website

Last synced: 10 days ago
JSON representation

User enters ingredients (comma-separated) to get recipes. Uses spoonacular API.

Awesome Lists containing this project

README

        

# Recipe Generator

A simple Flask-based web application that allows users to input ingredients (comma-separated) and get recipes. This app uses the [Spoonacular API](https://spoonacular.com/food-api) to fetch recipes.

---

## Features
- Input ingredients and receive recipe suggestions.
- Simple UI with Flask templates.
- Easy to deploy using Docker.

---

## Prerequisites

1. **Spoonacular API Key**: Get your API key from [Spoonacular](https://spoonacular.com/food-api).
2. **Python**: Ensure Python 3.7+ is installed.
3. **Docker**: Install [Docker Desktop](https://www.docker.com/).

---

## Some Commands

### Create Image
```bash
docker build -t recipe_generator .
```

### Run the Image
```bash
docker run -p 5000:5000 recipe_generator
```

### Check Containers
```bash
docker ps -a
docker ps
```