Skip to content

Instantly share code, notes, and snippets.

View RyanOkamuro's full-sized avatar

Ryan Okamuro RyanOkamuro

View GitHub Profile
@RyanOkamuro
RyanOkamuro / User scenarios
Created June 12, 2018 16:18
China Tech Feed
1) Post new tech news articles
2) Edit news articles to make corrections to article headline, image, spelling, comments
3) Post comments under articles
4) Delete posts
5) Like articles
6) Search for keywords in article headlines
7) Show related news feed articles
Find the latest newsfeed on China’s tech industry in one central location from American resources.
@RyanOkamuro
RyanOkamuro / React Redux Drills
Created June 2, 2018 19:02
React Redux Drills
Interest calculator I: Connecting
https://glitch.com/edit/#!/flowery-index?path=src/components/interest-calculator.js:35:13
Interest calculator II: Dispatching
https://glitch.com/edit/#!/diamond-amusement?path=src/components/interest-calculator.js:10:44
@RyanOkamuro
RyanOkamuro / Action, reducer, and store drills
Created May 31, 2018 18:19
Action, reducer, and store drills
i18n state
https://glitch.com/edit/#!/cute-crack?path=public/index.html:1:0
CRUD reducer
https://glitch.com/edit/#!/whimsical-literature?path=src/store.js:5:0
Surprise
https://glitch.com/edit/#!/neighborly-hoe?path=src/components/surprise.js:31:0
Calculator
https://glitch.com/edit/#!/fantastic-reaction?path=src/components/rate-calculator.js:1:0
Live Search
https://glitch.com/edit/#!/lopsided-angora?path=src/components/live-search.js:3:39
Navigation Bar
https://glitch.com/edit/#!/maze-birth?path=src/components/navigation-bar.js:26:1
Address Book
https://glitch.com/edit/#!/silky-crayfish?path=src/components/address-book.js:30:45
Return search button was causing issue on Wine Collection Listing Page. When clicking on a wine bottle, it wouldn't work.
The user review was changing to the exact user input rather than taking the average of all user ratings.
Pages weren't hiding when clicking edit button.
https://app.box.com/s/58acubqdxhxd31n8pc2cmech54fu5myx
Wine Select
Define Your App’s Purpose
Find the perfect bottle of wine based on consumer reviews.
Write User Stories to Determine Features
As a user, I should be able to:
1) Sign up for Wine Select
2) Log in to Wine Select
3) Search for wines based on:
@RyanOkamuro
RyanOkamuro / Mongo basics drills
Created April 16, 2018 18:29
Mongo basics drills
//Get all
db.restaurants.find()
//Limit and sort
db.restaurants.
find().
sort({name: 1}).
limit(10);
//Get by _id