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.
BackEnd
Test
Database
- [Add Food] - Add Food.
- [Display Foods] - Display all foods.
- [Add Recipe] - Add Recipe.
- [Display all recipe foods] - Display all recipe foods.
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.
NOTE:
You may need to run the following commands in the project directory to install the required gems and run the application:
- Install gem packages with:
bundle install
- 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>
- Create the database with:
rails db:create
- Start the development server
rails server
- Open the app in your browser at http://localhost:3000
To run tests, run the following command: rspec
👤 Bantealem Geto
- GitHub: @Bantealem
- Twitter: @BantealemG
- LinkedIn: Bantealem Geto
👤 Melashu Amare
- GitHub: @melashu
- Twitter: @meshu102
- LinkedIn: Melashu Amare
- [Update recipe]
- [Update inventory]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give as a star! ⭐️
- Hat tip to anyone whose code was used
- Inspiration
- Microverse
-
[How I can run this project?]
- [After cloning repository, run rails server.]
-
[Can I add likes on post?]
- [You can add likes and comments on a post.]
This project is MIT licensed.
NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.