Ask HN: How to build a Reddit/Hackernews like website?
Any help would be appreciated
Any help would be appreciated
Beyond that, assuming you're using a SQL database and want threading, study methods to represent tree structures from that[0].
[0]https://stackoverflow.com/questions/2175882/how-to-represent...
The closest thing to actual HN source code that's publicly available is probably Anarki[0] which is a public fork of Arc[1], a lisp created by PG. That codebase does already deviate from HN in several ways, is not guaranteed to be stable and doesn't represent what might be considered modern best practices for application design, but contributions are always welcome, and if you want to know how HN itself works, in general terms, that's probably the closest you're going to get.
You can also search "hacker news clone[2]" here to find examples written in various languages.
[0]https://github.com/arclanguage/anarki