News for hackers. Stuff that matters.
Re:Show HN: Django and React SaaS boilerplate tutorial by aiisahik on Wednesday December 23, 2020 @11:15AM (#25519105)
Totally agree with your assessment of Django in terms of its templating and SSR abilities. It's horrible and should be avoided at all costs.

However, the Django admin system is extremely powerful and saves you a HUGE amount of dev time. Every single saas product needs an admin interface from an operations point of view. I haven't seen anything out there that is better than Django Admin.

Re:Show HN: Django and React SaaS boilerplate tutorial by scrollaway on Wednesday December 23, 2020 @02:22PM (#25521082)
Yes I agree with you. My favourite stack right now is Django with DRF+Admin for backend, Typescript+NextJS (React) for frontend. I front the backend with Caddy, have django live on both admin.example.com and api.example.com with a couple of rewrites, and put cloudflare access in front of admin.example.com.

Currently I still use allauth for social authentication, though I'm not a fan of how little flexibility I get with it especially in such a setup (it makes a lot of assumptions about a template setup).

The other weakness in this stack is the lack of API typings. I haven't bothered messing with OpenAPI yet; I probably should but I understand that it's not a silver bullet in terms of typings either, so I just end up writing my own types for the API and it does become a very repetitive maintenance burden…

Re:Show HN: Django and React SaaS boilerplate tutorial by WD-42 on Thursday December 24, 2020 @11:57AM (#25529156)
You should check out FastAPI. I’ve been a Django dev for years but now that all projects have pretty much moved to client side js + drf backend anyway I’ve been using FastAPI for new projects. The way it takes advantage of Python typing is a thing of beauty!
Re:Show HN: Django and React SaaS boilerplate tutorial by scrollaway on Friday December 25, 2020 @12:42PM (#25537827)
Yup I've used FastAPI and love it. I'm not entirely sold on it when it comes to dealing with the ORM though, and the lack of a Django-quality admin is kind of a bummer.
Re:Show HN: Django and React SaaS boilerplate tutorial by WD-42 on Tuesday December 29, 2020 @07:09PM (#25576714)
Agreed. The Django ORM is so good. SQLAlchemy ORM feels like a huge step backward.

There are some new ones coming on the scene, like Dino and Tortoise, but nothing mature.