/recipe-app

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.

Primary LanguageRubyMIT LicenseMIT

RUBY RECIPE APP

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.

Views

- Home page - Recipes - Public recipes -
- screenshot - screenshot - screenshot -
- Foods - shopping list -
- screenshot - screenshot -

objectives

  • Use Ruby gems as a software packages system.
  • Install Ruby on Rails framework.
  • Understand Rails RESTful design and router.
  • Use controllers to handle requests and render empty views.
  • Understand Rails naming conventions.
  • Use params from browser requests in a safe way.
  • Use preprocessed HTML file with embedded Ruby code.
  • Use layouts and templates for shared content.
  • Use validations for models.
  • Secure app from n+1 problems.
  • Understand what ORM is.
  • Write SQL queries with ActiveRecord.
  • Set up associations between models.
  • Use Devise gem for authentication.
  • Limit access to web app resources based on authorization rules.

Built With

  • Ruby on Rails
  • Gems
    • Rspec
    • Capybara
    • Swagger-UI
    • JWT Authentication
    • FactoryBot
    • Selenium-webdriver
    • Bcrypt
    • Letter-opener
    • Faker
    • cancancan
    • Devise

Getting Started

  • Make sure you have Ruby installed in your system.
  • You can install it here.

Clone this repository by running https://github.com/billionsjoel/recipe-app.git in your command line.

Navigate to the repository by running cd recipe-app.

Installation

  • Clone the repo and run bundle install in the command line to install the dependencies.
  • run rails s

API Documentation using SWAGGER-UI

Open http://localhost:3000/api-docs/index.html in your browser

Author

👤 Atugonza Joel Billions

👤 Jos Kalenda

🤝 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

  • Coding partner, Standup and morning session team