Skip to content

Instantly share code, notes, and snippets.

View Schmerb's full-sized avatar

Michael Schmerbeck Schmerb

View GitHub Profile
@Schmerb
Schmerb / redux-thunk-drills.txt
Created September 6, 2017 14:36
Star Wars search drill using Redux Thunk
https://glitch.com/edit/#!/feather-yak?path=src/actions.js:1:0
@Schmerb
Schmerb / react-router-drills.txt
Created September 4, 2017 00:50
React Router Drills
Email Client Drill
https://glitch.com/edit/#!/zany-actress?path=src/components/email.js:13:35
@Schmerb
Schmerb / React-Redux-drills.txt
Created September 1, 2017 00:02
React Redux drills
Interest calculator I: Connecting
https://glitch.com/edit/#!/victorious-cardigan?path=src/components/interest-calculator.js:26:42
Interest calculator II: Dispatching
https://glitch.com/edit/#!/best-clerk?path=src/components/interest-calculator.js:33:1
@Schmerb
Schmerb / Action-reducer-store-drills.txt
Created August 31, 2017 22:58
Action, reducer, and store Redux drills
i18n state
https://glitch.com/edit/#!/ring-walk?path=src/reducers/index.js:17:0
CRUD
https://glitch.com/edit/#!/azure-euphonium?path=src/reducers/index.js:35:5
@Schmerb
Schmerb / Communication-drills.txt
Created August 26, 2017 23:38
React communication drills
Surprise
https://glitch.com/edit/#!/iris-air?path=src/components/surprise.js:11:10
Hourly rate calculator
https://glitch.com/edit/#!/lively-comma?path=src/components/rate-calculator.js:28:9
Live Search
https://glitch.com/edit/#!/navy-marble?path=src/components/live-search.js:30:4
@Schmerb
Schmerb / component-drills.txt
Created August 26, 2017 20:08
React component drills
Nav Bar
https://glitch.com/edit/#!/incandescent-puma?path=src/components/navigation-bar.js:17:10
Address Book
https://glitch.com/edit/#!/violet-pajama?path=src/components/address-book.js:37:12
@Schmerb
Schmerb / Droned-Reviews-User_Feedback.txt
Created August 25, 2017 00:05
User feedback for Droned Reviews website.
Main issues brought up by test users:
- Needed a more visible 'home' button throughout experience, user had to search for it which breaks a fluid UI
- Added it to nav, mobile nav, and fixed nav so always in view
- Made main navbar link font-size larger with larger viewports
- Had to clean up some iframe issues going between large and small viewports to display either an image thumbnail of a video which opens in a model and the actual iframe. Hide/show the img/iframe of the same video when window passes a specific width -- modal is not supported on small mobile devices in portrait mode
- Made main logo bigger to fill some more space
MVP
Essential User Stories
As a user, I should be able to register / log in
As a user, I should be able to see all other users’ reviews
As a user, I should be able to write reviews
As a user, I should be able to comment on other users’ reviews
As a user, I should be able to ‘upvote’ reviews I find helpful (but not my own)
Screens
Screen for register / log in
@Schmerb
Schmerb / node-capstone-user-stories.txt
Created July 20, 2017 00:00
User stories for Node Capstone project.
User Stories:
All Users:
As a user, I should be able to see all other users’ reviews
As a user, I should be able to click a link to go to an external website to purchase the drone under review
As a user, I should be able to read feed of external articles ==> drone blogs
As a user, I should be able to register for an account (via Email, Facebook, Google etc)
Registered Users:
As a user, I should be able to login to my account
@Schmerb
Schmerb / mongo-basic.drills
Created July 15, 2017 02:14
Mongo basic drills
Find all restaurants
db.restaurants.find({});
Find the command that makes the first 10 restaurants appear when db.restaurants is alphabetically sorted by the name property.
db.restaurants.find({}).sort({name: 1}).limit(10)
Retrieve a single restaurant by _id from the restaurants collection. This means you'll first need to get the _id for one of the restaurants imported into the databa
db.restaurants.findOne({_id: db.restaurants.findOne({})._id});
Write a command that gets all restaurants from the borough of "Queens".