Skip to content

Instantly share code, notes, and snippets.

@bibhuticoder
Created August 17, 2020 03:46
Show Gist options
  • Save bibhuticoder/7c9f508d13ccdceceacd471e9e8df930 to your computer and use it in GitHub Desktop.
Save bibhuticoder/7c9f508d13ccdceceacd471e9e8df930 to your computer and use it in GitHub Desktop.
// USER
{
"id": "user-23423423-234234-234234-23423",
"data": {
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@gmail.com",
"age": "32"
},
"createdAt": 7124564538,
"updatedAt": 7124569634
}
// PRODUCT
{
"id": "product-23423423-234234-234234-23423",
"data": {
"title": "Serverless ebook",
"author": "John Doe",
"price": 456.67,
"discount": 3.5
"publisher": "John's Company"
},
"createdAt": 7124566789,
"updatedAt": 7124568097,
"createdBy": "user-23423423-234234-234234-23423"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment