Skip to content
This repo contains the backend of a full stack recipe search and storage app that enables users to search for, save, and create recipes.
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 3 commits behind blevm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib/tasks
log
public
tmp
vendor
.DS_Store
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Gourmand

Gourmand is a full stack recipe search and storage app that allows users to search the Edamam API for recipes, save recipes to their personal recipe list, and create new recipes and add them to their recipe list. Gourmand utilizes JWT and bcrypt for user authentication and authorization, which enables users to securely log in and retrieve their saved recipes. Users can search for recipes and view each recipe's details as a guest, but they must have an account in order to save and create recipes.

See demo video here.

Getting Started

To use Gourmand, first fork and clone the Rails backend, which is in this repo. Next, run bundle install in the command line and launch Postgres. Once Postgres is running, create your own secret key in an .env file. Then, run rails db:create && rails db:migrate, followed by rails db:seed. Finally, run rails s -p 4000, which will launch the API on a local server at the specified port.

Once you have the backend running, fork and clone the React frontend, found here. Before you proceed, request your own API key from Edamam and adjust the routes accordingly to complete successful queries of the API. Next, run npm install in the command line, followed by npm install --save semantic-ui-react. Then, run npm start. As long as you seeded your database when setting up the backend, you can log in as 'Guest' with the password 'guest'.

Built With

  • JavaScript
  • React
  • Ruby on Rails
  • PostgreSQL
  • Semantic UI React
  • CSS

Authors

Acknowledgements

We would like to thank Jonathan Mines, Garry Clerge, and Mike Cheng of the Flatiron School for their help and support.

You can’t perform that action at this time.