Benawi / Reciep-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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ›°Recipe app πŸš€

πŸ“— Table of Contents

πŸ“– 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. The project is a repository consisting of the following files:

  • Ruby files
  • Rails files
  • Ruby linters file

πŸ›  Built With

Tech Stack

Key Features

  • A login page.
  • A registration page.
  • A food list (with all CRUD implementation, except for 'update').
  • A recipe list (with all CRUD implementation, except for 'update').
  • A general shopping list view (all missing food for all your recipes and total price).
  • A list of all public recipes from other users with their names and total prices.
  • Table and column names match the ERD diagram with developed

(back to top)

πŸ’» Getting Started

Prerequisites

In order to run this project you need:

  • Ruby installed and running. To get more information, read the installation instructions.
  • You should be able to use IRB.
  • First of all, make sure you have both Ruby & Rails installed on your machine (else You can install Rails just with this simple command gem install rails)

Setup

Clone this repository to your desired folder:

  git clone https://github.com/lorenzoworx/Reciep-App.git
  cd Recipe-App

Install

Install project dependencies with:

  bundle install

Run locally

  • Then go to the right folder
$ cd Recipe-App
$ bundle

and run to install npm package

$ npm install

make sure the database is up and running.

$ rails db:create

When you add a migration file, you can add commands like

$ rails db:migrate

Run this command line to add some dummy data

$ rails db:seed

Run Tests

Go to your gemfile and add the RSpec gem in the development, test group:

group:development, test do  
 gem 'rspec-rails'
end

Then in your terminal run the command:

 $ bundle install

To set up RSpec in your app and create the Spec folder run:

 $ rails generate rspec:install

To run Request specs locally you need just to run the following command in your terminal :

$ rspec spec/
$ rspec spec/ --format documentation 

(back to top)

πŸ‘₯ Authors

πŸ‘€ Habtamu Alemayehu

πŸ‘€ : lorenzoworx

πŸ‘€ : otmaneechchafyky

(back to top)

πŸ”­ Future Features

  • Optimize the performance of the app.
  • Make the UI more user friendly

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

(back to top)

⭐️ Show your support

Give us ⭐️ If you like this project!

(back to top)

πŸ™ Acknowledgments

  • We wanted to take a moment to express my sincere gratitude for the opportunity to work with you all on this project.
  • Microverse, thank you for providing the structure, guidance, and community to help me level up my skills as a developer. The experiential learning model has been invaluable in improving my coding abilities and collaboration skills. I appreciate the code reviews and feedback to help me write cleaner, more professional code.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

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.

License:MIT License


Languages

Language:Ruby 60.9%Language:HTML 29.5%Language:JavaScript 3.7%Language:SCSS 3.6%Language:CSS 2.2%