by Yusefmosiah · 2y ago · 0 comments
I used MongoDB from the start, but I'm beginning to regret that - It's getting hard to maintain relational consistency and ensure all the data going in the DB matches the same shape as the site scales. Maybe it's time to migrate to Postgres.
I mix up a few things from the rest of the world for my site - comments are nested like Reddit/HN, and posts/comments are rich text limited HTML like a blog. There's a really minimal algorithm that's relatively hard to mess with: chronological feed from people you follow, and a seperate Explore page with top users and trending posts (based on the recent likes)
Profiles have seperate 'walls' from posts so they basically have little comment sections for people to use.
The new site also has profile customization so people can change the accent colour that their posts and profiles appear as in other people's feeds, and there's little widgets to customize profile 'Sidebars'.
It's nice to have a little quiet place seperate from the rest of the world, with its own ecosystem of clients, tools, bots, etc. (actually this year somebody made a Spotify Wrapped style recap website using the API!).