News for hackers. Stuff that matters.
Re:Building a fullstack app with Flask and HTMx by keb_ on Tuesday March 29, 2022 @01:06PM (#30845379)
Replace Flask with Bottle.py. It's a single-file dependency (don't even need pip) and includes routing, and a templating engine. Super simple to prototype and iterate a backend API.
Re:Building a fullstack app with Flask and HTMx by farmin on Tuesday March 29, 2022 @06:14PM (#30849060)
This is what I started doing. Bottle has user auth plugin called cork that is handy too. All very simple to understand. I did start using jinja instead of the built in template engine though.