Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bobby recipe keeper #139

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
####### NODE

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules

####### RAILS

*.rbc
capybara-*.html
.rspec
/log
/tmp
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
/coverage/
/spec/tmp
**.orig
rerun.txt
pickle-email-*.html

# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/secrets.yml

## Environment normalisation:
/.bundle
/vendor/bundle

# these should all be checked in to normalise the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# if using bower-rails ignore default bower_components path bower.json files
/vendor/assets/bower_components
*.bowerrc
bower.json

# Ignore pow environment settings
.powenv

.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

####### OSX

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
3 changes: 3 additions & 0 deletions css/home.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
background-color: red;
}
108 changes: 108 additions & 0 deletions data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"recipes": [
{
"title": "Nasi Briyani",
"ingredients": [
{
"name": "star anise",
"amount": 10
},
{
"name": "basmati rice",
"amount": 5
}
],
"instructions": "bite the star",
"img": "https://www.tasteofhome.com/wp-content/uploads/2018/11/star-anise.jpg",
"createdDate": "4/11/2020"
},
{
"title": "Chicken Rice",
"ingredients": [
{
"name": "chicken breast",
"amount": 1
},
{
"name": "water",
"amount": 1
}
],
"instructions": "boil chicken in water. Add some garlic. flatten one small piece of chicken breast. Serves 50.",
"img": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQdAMNUvYVhY99-SQNvR08HcZZsoGyPQjfcQ_Y576cD81pG44JY&usqp=CAU",
"createdDate": "4/12/2020"
},
{
"title": "bag of chips",
"ingredients": [
{
"name": "bag of air",
"amount": 1
},
{
"name": "some chips",
"amount": 4
}
],
"instructions": "Put some chips in a bag of air. *Important* Never fill more than 1/4 of the bag.",
"img": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcT1clXtVJCFJM7t6XPwy5Z4nOxn8-WPeZfmXwev7Z1o2ijEVgi-&usqp=CAU",
"createdDate": "4/11/2020"
},
{
"title": "Fish & Chips",
"ingredients": [
{
"name": "fish",
"amount": 2
},
{
"name": "salt",
"amount": 20
}
],
"instructions": "Fry fish. Make sure not to put any seasoning. Maybe salt. British things...",
"img": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQoBXbja5ATh0D9BhKjvWDZtaKP2DP9aUtfeQ3nn8mdpIFSEidQ&usqp=CAU",
"createdDate": "4/11/2020"
},
{
"title": "Fried rice",
"ingredients": [
{
"name": "rice",
"amount": 2
},
{
"name": "Anything left in the fridge",
"amount": ""
}
],
"instructions": "Throw everything in the wok.",
"img": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQzcw8ljxYfmwp9U6Dao4r2yVxuxV656K5922qQ0M0lEc0FTPID&usqp=CAU",
"createdDate": "4/12/2020"
},
{
"title": "Maggi Mee",
"ingredients": [
{
"name": "cancer",
"amount": 1
},
{
"name": "bald head",
"amount": 1
},
{
"name": "ecstasy",
"amount": 1
},
{
"name": "death",
"amount": 1
}
],
"instructions": "Not possible to go wrong. Nobody can screw this up.",
"img": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcS3Xv5h5Tsk-evOCdvCDr2HZXRaHYg4NuSLg8Tx7rrQt6KOuRnj&usqp=CAU",
"createdDate": "4/12/2020"
}
]
}
Loading