Skip to content

Instantly share code, notes, and snippets.

View tian-chaiyaporn's full-sized avatar

Chaiyaporn Chinotaikul tian-chaiyaporn

View GitHub Profile
@tian-chaiyaporn
tian-chaiyaporn / gist:3dfd38cb6284d296ce478705f2b3ebe7
Created May 15, 2017 23:32
High Level Definition of App Idea
Idea:
An app where user can compare house prices in different regions across United States.
Users may use this information to quickly see where they might decide to move to, or to buy real estate for investment.
Mechanism:
Using an API from Quandl, house prices are fetched and dynamically displayed on a map from Google Map API.
The user may choose to display the data for the whole country or for a specific state.
If the user chooses to see the house prices for a specific state, an array of house prices for the neighborhoods in the state will be fetched and displayed
User may also select the price changes in percentage, the time frame (1 year, 3 year, 5 year, and 10 years), in addition to the state
@tian-chaiyaporn
tian-chaiyaporn / user-flow.jpg
Last active May 16, 2017 02:02
User Flow for Capstone
Please see the attached photo. I accidentally skipped this step when I was designing the app, and already made the prototype for the app.
@tian-chaiyaporn
tian-chaiyaporn / Serverside Unit1 Lesson 1.7
Created May 26, 2017 11:28
Serverside Unit1 Lesson 1.7
Echo Endpoint Drill:
https://swamp-peace.glitch.me
with query:
https://swamp-peace.glitch.me/echo/foo?cats=dogs
Mad lib generator Drill:
https://decisive-bridge.glitch.me
with query:
https://decisive-bridge.glitch.me?adjective1=red&adjective2=spikey&adjective3=effective&adverb=rapidly&name=Joe&noun=bungee%20cord&place=Kansas
@tian-chaiyaporn
tian-chaiyaporn / gist:9a9fb9f67faa6d1754ed9394a82a9629
Created June 7, 2017 17:05
Front-end Thinkful Unit3 Lesson5.5 user feedback and iteration
1. Needs button to stop loading data as the wait can get too long.
2. Map panning for every points can get disorientating, only pan the map once when user select an area, otherwise, keep it still
3. Marker size for percentage change too big for 5-10 years range, change marker's absolute size for those years to be smaller
4. The wait can be too long; this is a hard problem to solve as api limitation cannot be overcomed unless it is paid. Consider preloading some essential data and store it in database for future use.
5. More data range; again, api limitation prevents wider range of data, but maybe combining Qunadl data with a different data source can expand the potential
get all: db.restaurants.find()
limit and sort: db.restaurants.find().sort({name: 1}).limit(10)
get by _id:
var docId = db.restaurants.findOne({})._id;
then db.restaurants.find({_id: docId})
get by value:
db.restaurants.find({borough: "Queens"})
Help people decide on everyday decisions using a dice to randomly generate results.
As a user, I should be able to create a dice with as many faces as I want
As a user, I should be able to store my dice to an account
As a user, I should be able to register / log in / log out of my account
As a user, I should be able to share my dice with others to use or set it as private only
Scope:
As a user, I should be able to create a dice with as many faces as I want without having to register.
As a user, I should be able to store my dice to an account (I need to register for this option)
As a user, I should be able to register / log in / log out of my account
As a user, I should be able to share my dice with others to use or set it as private only
Screens + User flow:
Home screen with short explaination + list of dice that user can click to + option to create new dice
Dice screen where user can toss the dice / edit the dice if it belongs to the user
Create dice screen where user can add new options to create a dice. New dice can have suggestions on ideas.
@tian-chaiyaporn
tian-chaiyaporn / gist:9706ec5fa846323c4d7f707d1d199ac3
Created August 23, 2017 07:08
Feedback on capstone dice app
1. better design
2. add features to save other people dice
3. make it available on mobile for easy access
@tian-chaiyaporn
tian-chaiyaporn / gist:72b6893d1b3881083f4dd887620640fa
Last active August 23, 2017 17:39
Thinkful - react-001v3/project/1.1.5
https://glitch.com/edit/#!/deep-pest
https://glitch.com/edit/#!/metal-brick
https://glitch.com/edit/#!/substantial-chill
https://glitch.com/edit/#!/shrouded-guilty
https://glitch.com/edit/#!/rogue-aftermath?path=src/components/live-search.js:37:0