Skip to content

usmansbk/recipe-app

Repository files navigation

Recipe App

Microverse

The Recipe app keeps track of all your recipes, ingredients, and inventory

screenshot

The Recipe app keeps track of all your recipes, ingredients, and inventory. It will allow you to save ingredients, keep track of what you have, create recipes, and generate a shopping list based on what you have and what you are missing from a recipe. Also, since sharing recipes is an important part of cooking the app should allow you to make them public so anyone can access them.

Built With

  • Ruby on Rails
  • PostgreSQL
  • Bulma CSS

Live Link

Heroku

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Setup

  • Make sure you have Ruby on Rails set up properly on your computer
  • Clone or download this repo on your machine
  • Enter project directory

Install

bundle install

Database

# Create user
sudo -u postgres createuser recipe_app -s

# Create the database
rails db:create

## Apply migration
rails db:migrate

# Load the schema
rails db:schema:load

Run

rails s

Test

rspec

Troubleshoot

### Rspec failing
RAILS_ENV=test rake db:reset
### New Scaffold
rails g scaffold_controller model
### Undo migration
rake db:migrate VERSION=0

Authors

👤 Usman

👤 Abraham

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

License

MIT

About

Group project: The Recipe app keeps track of all your recipes, ingredients, and inventory. Built with Ruby on Rails

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published