Skip to content

Latest commit

 

History

History
executable file
·
91 lines (56 loc) · 1.92 KB

README.md

File metadata and controls

executable file
·
91 lines (56 loc) · 1.92 KB

Eureka is a full stack web app built during my time at Hackbright Academy. Eureka allows a user to search for a recipe by ingredient(s) and how much time (maximum) they want to spend. From there, the results will show, where a user can see the name of the recipe and the link to the recipe. The user can then save the recipe or text the link of the recipe to their phone. Users can also upload their own recipe to the database.

Video Demo

Technologies

Tech Stack: Python, JavaScript, HTML, CSS, Flask, Jinja, jQuery, PostgreSQL, SQLAlchemy, Bootstrap, Requests Library

APIs : Spoonacular, Twilio

Installation

You must have the following installed to run Eureka:

API key for Spoonacular
API key for Twilio
PostgreSQL
Python3
Requests Library

Running Eureka on your computer:

  1. Clone or fork repository:
$ git clone https://github.com/sshantel/eureka

Create and activate a virtual environment inside your hb-project directory:

$ virtualenv env
$ source env/bin/activate
  1. Install dependencies:
$ pip install -r requirements.txt
  1. Create a secrets.sh file and add your API keys and secret keys. Example below.

  1. Add variables to your virtual environment:
$ source secrets.sh
  1. Create database 'recipe':
$ createdb recipe

Features

Register

Login

Search for recipes by ingredient(s) and max cook time

Save/unsave recipe, text recipe to phone

Upload a custom recipe