This is a recipe app that fetches recipes according to user needs, saves favorites and bookmarks for users ease of access in future.
This recipe app is designed to help users find recipes based on the ingredients they have on hand. It utilizes the EdamamAPI to fetch food recipes and provides users with a platform to create accounts, allowing them to like and bookmark their favorite recipes.
The app uses Flask libraries for authentication and backend functionality, while the database management system employed is PostgreSQL. With this app, users can easily search for recipes, explore various cooking options, and save their preferred recipes for future reference.
-
Clone the repository
git clone git@github.com:ru0ya/NuruPishi.git
-
Navigate to project directory
cd NuruPishi
-
Create a virtual environment
python -m venv venv
-
Activate virtual environment -On macOS and Linux:
source venv/bin/activate
- On Windows:
.\venv\Scripts\activate
- On Windows:
-
Install required dependencies
pip install -r requirements.txt
-
Set up the database: -Create a PostgreSQL database for the app. -Update the database configuration in the config.py file with your PostgreSQL credentials.
-
Run the database migrations:
flask db upgrade
-
Start the development server:
flask run
-
Access the app in your web browser at http://localhost:5000
Once the app is up and running, you can use the following steps to search for and save recipes:
Create an account or log in if you already have one.
Enter the ingredients you have in the search bar and click "Search Recipes".
Browse through the list of recipes that match your ingredients.
Click on a recipe to view more details, including ingredients, instructions, and nutritional information.
Like or bookmark recipes that you enjoy to save them for future reference
We welcome contributions to improve and enhance the recipe app. If you would like to contribute, please follow these guidelines:
Fork the repository and create a new branch for your contribution.
Make your changes and ensure that the app is functioning correctly.
Submit a pull request with a clear description of your changes and the problem they solve.
We appreciate your contributions and efforts to make the recipe app better for everyone.
Lessons learnt, failures and wins
MIT License