FabianWesner
Joined 3 years ago
Karma
1
Submissions
3
Member since
Jan 16
Joined 3 years ago
In the context of a SaaS application, you usually need to choose between a relational or a document storage database. In this article, I will explain how to decide which one to use in which scenario.
Next.js for client- and server-side development (alternatively look at Remix). It's a big advantage to use Typescript on both sides instead of mixing programming languages like JS + Rust or GO (or PHP, Python, Ruby ...).
In case you need a database (MySQL or Postgres) then PrismaORM is your best friend. Amazingly good ORM which does all the heavy-lifting for you.
For hosting without database Vercel is the obvious solution. In case you need a database, then look at a good PaaS like Render.com (or if you are in EU then scalingo.com). In any case don't waste time with building infrastructure.
In case you want to see a full application, check out our open-source Kickstarter.
Repo: https://github.com/roqtech/roq-kickstarter-nextjs Demo: https://roq-kickstarter-nextjs.vercel.app/
Repo (with Prisma): https://github.com/roqtech/roq-kickstarter-nextjs-prisma-mar...