[0] https://github.com/ferg1e/comment-castles
But anything more complex than a basic server seems like overkill for a simple text forum.
The implication from your post is that to be "modern" an application needs to be "serverless" - which frankly is preposterous.
[0] https://github.com/ferg1e/comment-castles