Skip to content

sjroma/railsRecipeBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Box, a Ruby on Rails application

  • Ruby version
    • Ruby on Rails v5.1.3
  • System dependencies
    • postgreSQL v9.6.3
  • Gems used

Clone the repository

After cloning you will need to create, and then initialize, the database

  • Create the database;
    • At the command line in the cloned directory run
     rails db:create  
  • Initialize the database;
    • At the command line in the cloned directory run
     rake db:migrate  
  • To run the test suites
    • For the models tests run
     ruby -Itest test/models/recipe_test.rb  

To-do

  • Remove .haml gem, make all views .erb
  • Enhance: Add ability for users to register (sign up and/or then sign in)
    • Non registered users can see recipes
    • Registered users can edit/delete recipes they've created (after signing in)
  • Enhance: Hide recipe id's in the URL (look into is_sluggable and/or the friendly_id gem)
  • Enhance: Add ability to search by ingredients
  • Enhance: Refactor to add a generic landing page that allows users to select the list of recipes based on whether it's an Entree, Soups/Stews, Bread, Dessert, etc.
  • Enhance: Don't display 'Back', 'Edit' and 'Delete' buttons when printing a recipe
  • Figure out why running the tests wipes out everything in the db

Recipe Box originated by Mackenzie Child. Modifications by Steve Roma

~/tiy/weekProjRecipeBox/recipe_box