Skip to content

Instantly share code, notes, and snippets.

@jaxbot
Created Nov 27, 2016
Embed
What would you like to do?
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