https://github.com/usmansbk/recipe-app
Group project: The Recipe app keeps track of all your recipes, ingredients, and inventory. Built with Ruby on Rails
https://github.com/usmansbk/recipe-app
postgresql rails5 ruby ruby-on-rails
Last synced: 7 months ago
JSON representation
Group project: The Recipe app keeps track of all your recipes, ingredients, and inventory. Built with Ruby on Rails
- Host: GitHub
- URL: https://github.com/usmansbk/recipe-app
- Owner: usmansbk
- License: mit
- Created: 2021-11-09T14:33:21.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2021-11-18T14:07:33.000Z (over 4 years ago)
- Last Synced: 2025-01-19T02:32:20.540Z (over 1 year ago)
- Topics: postgresql, rails5, ruby, ruby-on-rails
- Language: Ruby
- Homepage: https://stormy-cliffs-64424.herokuapp.com/
- Size: 520 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Recipe App

> The Recipe app keeps track of all your recipes, ingredients, and inventory

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.
## Built With
- Ruby on Rails
- PostgreSQL
- Bulma CSS
## Live Link
[Heroku](https://stormy-cliffs-64424.herokuapp.com/)
## Getting Started
To get a local copy up and running follow these simple example steps.
### Prerequisites
- [Ruby](https://www.ruby-lang.org/en/)
- [Rails](https://gorails.com/)
### Setup
- Make sure you have Ruby on Rails set up properly on your computer
- Clone or download this repo on your machine
- Enter project directory
### Install
```sh
bundle install
```
### Database
```sh
# Create user
sudo -u postgres createuser recipe_app -s
# Create the database
rails db:create
## Apply migration
rails db:migrate
# Load the schema
rails db:schema:load
```
### Run
```sh
rails s
```
### Test
```sh
rspec
```
### Troubleshoot
```sh
### Rspec failing
RAILS_ENV=test rake db:reset
```
```sh
### New Scaffold
rails g scaffold_controller model
```
```sh
### Undo migration
rake db:migrate VERSION=0
```
## Authors
👤 **Usman**
- GitHub: [@usmansbk](https://github.com/usmansbk)
- LinkedIn: [Usman Suleiman Babakolo](https://linkedin.com/in/usmansbk)
👤 **Abraham**
- GitHub: [@Metsanpeitto](https://github.com/Metsanpeitto)
- LinkedIn: [Abraham R](https://www.linkedin.com/in/abraham-rodriguez-3283a319a/)
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Microverse
## License
[MIT](./LICENSE)