Hacker News new | ask | show | jobs
by linsomniac 1729 days ago
I've really enjoyed Flask and Quart (asyncio Flask) for my smaller tool sort of web services as the backend. It can run either self-contained, via uwsgi.

For the frontend component, I'd probably be looking at Vue in the future, I haven't done much on that front.

My most recent toy was replacing the backend of MailHog with Python, the existing one has been flaky for us I'm not the right guy to fix Java. So I built a Quart app with aiosmtpd to make a single program that could process SMTP and HTTP to show the incoming messages in a browser. Used for dev/staging environment to capture and view the messages our system would send out.

1 comments

Say you wanted to recreate hackernews as a toy project - what stack would you use nowadays to achieve that most efficiently?
If at all possible, I'd find something someone else has done and use that. :-)
That's fair enough haha! I guess just looking for a pet project to get started with.
HN is actually a great example.

Look at the old source of it and admire it's simplicity.

https://github.com/wting/hackernews

Yeh, I had actually briefly looked into after writing that comment and found the same - interesting that Paul came up with his own version of LISP to do it in.

If you wanted to remake it in a modern framework though, what stack would you personally opt for? I think Postgres or MySQL for the database is a no-brainer, but what about the quickest approach for the rest (bar of course simply cloning the repo ;) )

The tool i best know is dotnet.

Perhaps controllerless, similar to : https://github.com/ServiceStackApps/RazorRockstars

But, as mentioned. That's because I know that tool, that knowledge is not transferable through a comment :p

Yeh, definitely - I appreciate the input nonetheless!