Skip to content

Instantly share code, notes, and snippets.

@jaxbot
Created November 27, 2016 19:25
Show Gist options
  • Save jaxbot/5542e909e2895498895e8f4589d127ee to your computer and use it in GitHub Desktop.
Save jaxbot/5542e909e2895498895e8f4589d127ee to your computer and use it in GitHub Desktop.
var SURVEY = [
{
question: "Write a few sentences about yourself.",
type: "paragraph",
table: "user",
key: "biography",
example: "Computer Science Major at UCF, clean, quiet, and love spending time with my cat.",
},
{
question: "Where are you looking for roommates?",
type: "text",
table: "user",
key: "location",
example: "A neighborhood (Mandarin), school (UCF), or city (Jacksonville)",
},
{
question: "How many roommates are you looking for?",
type: "number",
table: "user_attributes",
key: "desired_roommate_count",
},
{
question: "Are you okay rooming with people of different genders?",
type: "boolean",
table: "user_attributes",
key: "same_gender_only",
},
{
question: "Do you already have a place to live?",
type: "boolean",
table: "user_attributes",
key: "has_place",
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment