The Recipe app keeps track of all your recipes, ingredients. 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.
- Creation: Users can create new recipes, providing details such as name, preparation time, cooking time, and description.
- Ingredient Database: The app maintains a database of ingredients that users can reference when creating recipes..
- Automatic List Generation: The app generates a shopping list based on the ingredients required for selected recipes and what the user doesn't currently have in their inventory.
To get a local copy up and running, follow these steps.
In order to run this project you need:
cd my-folder
git clone https://github.com/Alejandroq12/recipe-app.git
Install all necessary dependencies listed in the Gemfile
.
bundle install
Install all necessary dependencies listed in the package.json
.
npm install
Important: please, rename .env.example to .env and fill out all necessary fields otherwise you will not be able to connect to the database.
Before running the migrations and seeds, ensure that PostgreSQL is installed and running:
sudo service postgresql start
Create database:
rails db:create
Run migrations:
rails db:migrate
Add the seeds:
rails db:seed
To run the project, navigate to the project directory and execute the following command:
rails server
To execute all test suites in the application, use the following command in your terminal:
rspec
If you wish to run only the controller request tests, you can specify the path to your request specs directory:
rspec spec/requests/
If you wish to run only the integration tests:
rspec spec/system
To run linter, run the following command:
rubocop
npx stylelint "**/*.{css,scss}"
Check this project:
- Recipe App : recipe_app
👤 Julio Quezada
- GitHub: Alejandroq12
- Twitter: @JulioAle54
- LinkedIn: Julio Quezada
👤 Nessrine Macherki
- GitHub: Nessrine Macherki
- LinkedIn: Nessrine Macherki
- User Feedback: Users might have the option to leave reviews or comments on recipes.
- A rating system could be in place for recipes, helping users discover popular or highly-rated dishes.
- Web and Mobile: The app might be accessible through both web and mobile platforms for a seamless user experience.
Contributions, issues, and feature requests are welcome!
If you like this project please give a star. Thanks in advance.
I would like to thank all of my colleagues who inspire to do my best everyday.
This project is MIT licensed.