anonystick / storing-comments-mongodb-like-facebook

Bucketing The third approach is a hybrid of the two above. Basically it tries to balance the rigidity of the embedding strategy with the flexibility of the linking strategy. For this example we might decide that we will split the comments into buckets with a maximum of 50 comments in each bucket.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

store-comment-mongodb-nodejs

nodejs + express + mongodb to do MVC example

Youtube:Series Mongodb Backend: MongoDB with comments architecture

1 - Triển khai hệ thống comments trong ứng dụng Mongodb | index mongodb | b - tree | birary - tree

2 - Shopee vs Hack news đã triển khai hệ thống Comments như thế này với Rest Api? Dành cho Level 1

Blog: backend nodejs

How to use

clone git

> git clone https://github.com/anonystick/storing-comments-mongodb-like-facebook.git your-project
> cd your-project
> npm i
> npm run dev

Try

localhost

About

Bucketing The third approach is a hybrid of the two above. Basically it tries to balance the rigidity of the embedding strategy with the flexibility of the linking strategy. For this example we might decide that we will split the comments into buckets with a maximum of 50 comments in each bucket.