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
- 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
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 installRails
just with this simple commandgem install rails
)
Clone this repository to your desired folder:
git clone https://github.com/lorenzoworx/Reciep-App.git
cd Recipe-App
Install project dependencies with:
bundle install
- 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
- Finaly run
rails s
and visit http://localhost:3000/ in your browser!
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
π€ : lorenzoworx
- GitHub: @githubhandle
- LinkedIn: LinkedIn
π€ : otmaneechchafyky
- GitHub: @githubhandle
- LinkedIn: LinkedIn
- Optimize the performance of the app.
- Make the UI more user friendly
Contributions, issues, and feature requests are welcome!
Give us βοΈ If you like this project!
- 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.
This project is MIT licensed.