Skip to content

dodoburner/recipe-app

Repository files navigation

Recipe App

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
  • Bootstrap
  • PostgreSQL
  • Devise
  • Rspec
  • Capybara

Getting Started

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

Prerequisites

  • Ruby runtime environment
  • PostgreSQL
  • Rails

## 🛠 Installation & Set Up

If you dont have Ruby installed on your computer, you can download it from here.

If you dont have Rails installed on your computer, you can download it from here.

If you dont have PostgreSQL installed on your computer, you can download it from here.

If you have installed git you can clone the code to your machine, or download a ZIP of all the files directly.

Download the ZIP from this location, or run the following git command to clone the files to your machine:

  • Once the files are on your machine, open the blog-app folder in your code editor. Run the following command in your terminal to install the required gems and run the application:

NOTE: You may need to run the following commands in the project directory to install the required gems and run the application:

  1. Install gem packages with:
bundle install
  1. Open the config/database.yml file in the project directory and change the username and password to your PostgreSQL username and password. Edit the default section of the file to look like this:
  default: &default
  adapter: postgresql
  encoding: unicode
  # For details on connection pooling, see Rails configuration guide
  # http://guides.rubyonrails.org/configuring.html#database-pooling
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  username: <your PostgreSQL role username>
  password: <your PostgreSQL role password>

  1. Create the database with:
rails db:create
  1. Start the development server
rails server
  1. Open the app in your browser at http://localhost:3000

Authors

👤 Desmond Owusu Ansah

👤 Dorian Urem

👤 Collins Musoko

🤝 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

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published