Skip to content

Instantly share code, notes, and snippets.

View grittygrady's full-sized avatar

Christopher Grady grittygrady

View GitHub Profile
@grittygrady
grittygrady / InteractiveQuizApp
Created June 15, 2020 19:27
Thinkful Quiz App
Apologies! Forgot to submit it in a gist.
Live at https://grittygrady.github.io/Thinkful-Quiz-App/
Repo: https://github.com/grittygrady/Thinkful-Quiz-App
@grittygrady
grittygrady / Async-Checkpoint2.txt
Created June 16, 2020 17:20
Analogy for Client / Server relationship
The client is like the customer at a restaurant. Instead of naming all the ingredients, they order a dish based off of the title on the menu. The waiter is like the ISP, converting it into something the kitchen will understand (name of the dish with any modifications). The kitchen then "translates" the dish (which in this case would be the dns) and then "fetches" the ingredients from the prep cooks (these would be our html, css, javascript, etc) then "assembles" them via the recipe (our code), and then presents the final dish for the waiter to bring back to the customer (client).
@grittygrady
grittygrady / Checkpoint 4.txt
Last active June 19, 2020 16:51
Reading-Api-Documentation
1) For the subscriptions: list endpoint:
Required parameter: "part"; type "string"; example values: "contentDetails", "id", "snippet".
Optional paramater 1: "forChannelId"; type "string"; values: a comma separated list of channels by id.
Optional parameter 2: "maxResults"; type "unsigned integer"; values: (maximum number of results in list) - 0 to 50, default is 5.
2) For the google geocoding:
Statue of Liberty
https://maps.googleapis.com/maps/api/geocode/json?address=1+Battery+Place,
+New+York,+NY&key=YOUR_API_KEY
My address
Using the api http://omdbapi.com/ the desired outcome is an app that allows a couple (the target audience) to each enter a movie and then using a series of questions, determine who chooses the movie tonight. Questions such as "Who chose the last movie?", "Who last took out the trash?", "Do critic scores matter to you?" etc. The questions will carry different weight, and each "player" will receive a score (e.g. whoever did not choose the last movie gets +2 points, if critic scores matter, compare the rotten tomatoes scores for the movies, the player who chose the higher scoring film gets a +1 to their score). After a few questions, it decides which movie to watch tonight.
Note: This app has an http address. I tested it through both postman and the browser to see if using an https protocol works, it does, and github pages has an "enforce HTTPS" option. I asked on slack and a technical coach told me it would not be a problem.
As a new user I want to be able to input 2 different films for consideration. Priority HIGH
As a new user I want to have a series of guided questions to determine the "winner". Priority HIGH
As a new user I want to see the details of the films searched for. Priority MEDIUM (some info is necessary, synopsis, runtime, link to IMDB site, some isn't necessary, e.g. budget etc).
As a new user I want a clear, concise presentation of prompts. Priority HIGH
As a returning user I want to have the option to retake the quiz with different questions. Priority LOW (initial build will have a series of questions, down the line additional questions can be added)
As a returning user I'd like the option to skip the quiz and leave it up to a "coin toss" Priority LOW (just an idea, not sure how desirable it is for this app.)
As a returning user
As a user with disabilities I'd like to have screen reader capabilities for options on the quiz portion of the app. Priority HIGH
As an administrator, I'd like to be abl
User flow and wireframe mockups for thinkful API capstone.
Most of my user feedback was quite positive. People found it fun and amusing.
There was a couple of errors in the javascript that didn't break functionality, but did cause for messy code.
The most common feedback was from iPhone users, regardless of browser, due to iOS default buttons and input stylings.
I figured out how to disable/override those default stylings.
No one commented on how it handled a movie not being found, but I wasn't satisfied with it, so I added an error page to handle that. It isn't terribbly sophisticated, but it works and controls more user flow.
Networking checkpoint for Thinkful curriculum
I've found 3 people that had impressive qualifications/linkedin profiles, and 2 of the companies are currently hiring on Glassdoor. 2 are Thinkful graduates, and 1 lives in my current city! I've reached out with personalized messages, and will follow up in the next few days.
DROP TABLE IF EXISTS bookmarks;
create table bookmarks (
id INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
title TEXT NOT NULL,
url VARCHAR NOT NULL,
rating INTEGER NOT NULL,
description TEXT
);