An open API service indexing awesome lists of open source software.

https://github.com/billionsjoel/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.
https://github.com/billionsjoel/recipe-app

postgresql rails

Last synced: 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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](app/assets/images/home.png) |-| ![screenshot](app/assets/images/allre.png) |-| ![screenshot](app/assets/images/publis.png) |-|

> |-| Foods |-| shopping list |-|
> |-|-----------|-|--------------|-|
> |-| ![screenshot](app/assets/images/foodli.png) |-| ![screenshot](app/assets/images/shoplis.png) |-|

## 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](https://www.ruby-lang.org/en/documentation/installation/).

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](http://localhost:3000/api-docs/index.html) in your browser

## Author

👤 **Atugonza Joel Billions**

- GitHub: [@billionsjoel](https://github.com/billionsjoel)
- LinkedIn: [Billionsjoel](https://www.linkedin.com/in/billionsjoel/)

👤 **Jos Kalenda**

- GitHub: [@jos kalenda](https://github.com/joskalenda)
- LinkedIn: [@jos kalenda](https://www.linkedin.com/in/jos-kalenda/)
- Twiter: [@jos kalenda](https://www.linkedin.com/in/JosKalenda/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/billionsjoel/recipe-app/issues).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Coding partner, Standup and morning session team