Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- [
- {
- _id: '', // user's id
- fullname: '',
- username: '', // unique username
- email: '',
- password: '',
- posts: [
- {
- status: '', // user post content
- date: '', // new Date()
- comments: [
- {
- reply: '', // actual comment
- on: '', // new Date()
- by: '' // user_id of the user who commented
- }
- ], // array of comments
- likes: [
- {
- by: '', // user_id of the user who liked
- liked: boolean // true or false
- }
- ] // array of likes
- }
- ],
- info: {
- dob: '', // date of birth
- city: '',
- phone: '',
- email: {
- primary: '', // mail used by the user for registration
- secondary: '', // optional email
- },
- bio: ''
- }
- }
- ]
- }
Add Comment
Please, Sign In to add comment