Skip to content

Instantly share code, notes, and snippets.

@chrisckchang
Last active September 11, 2015 21:25
Show Gist options
  • Save chrisckchang/1963b8f2068b3881e376 to your computer and use it in GitHub Desktop.
Save chrisckchang/1963b8f2068b3881e376 to your computer and use it in GitHub Desktop.
Todolist and Todo schema
// Todolist
{
_id: <string>,
name: <string>,
createDate: <Date>,
[todos: <Array>] // <Array of Todos">?
}
// Todo
{
_id: <string>,
name: <string>,
done: <boolean>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment