News for hackers. Stuff that matters.
Re:Ask HN: What would be your stack if you are building an M... by lummm on Thursday January 26, 2023 @11:48AM (#34534235)
I think I'd have to say NextJS with SQLite. Every DB table would just be 'id' and 'data', where 'data' is JSON-encoded and the schema is only enforced in code. This lets you write a 30-line ORM. Foreign-key relationships are just modelled as lists. If speed is the major concern, I find this the fastest way to build. You can bring structure to the DB as things are nailed down.
Re:Ask HN: What would be your stack if you are building an M... by dbbk on Thursday January 26, 2023 @12:24PM (#34534957)
Why would you need to do this? It's not like creating tables with columns is a time consuming endeavour