Justine Acosta
JUSTINE ACOSTA · GMT+8 ·
All services
SERVICES / 04

Full-stack web app and SaaS development

Product surfaces people use every day, built to stay fast as the team and the feature list grow.

ReactTypeScriptPostgres04 / 10

What you get

  • A data model and architecture decided before the screens
  • A Next.js and TypeScript app, accessible and responsive
  • Roles, permissions and tenant isolation designed, not assumed
  • Subscription billing wired to plans and limits, where the product needs it
  • CI, previews and a performance budget, so quality holds after handover
  • Documented conventions the next engineer can extend

Full-stack web app development, done properly, means one person thinks about the whole product at once: the data model, the screens, the permissions, the deploy pipeline and what it all costs to run. I build web apps and SaaS products on Next.js, TypeScript and Postgres, from the first table to the production URL.

The problem

Most web apps don't fail at launch. They fail slowly, six to eighteen months in, when every new feature takes twice as long as the last. The causes are rarely dramatic. A data model that made sense for the first screen and fights every screen after it. Permissions checked in some places and forgotten in others. Pages that were fast with ten rows and crawl with ten thousand. A codebase only one person understands, who has since moved on.

SaaS products add their own traps. Tenant isolation that's assumed rather than enforced, so one customer can, with the right URL, see another's data. Subscription plans that say one thing on the pricing page while the app enforces another. An admin built as an afterthought, so the support team works around it with spreadsheets.

None of this shows up in a demo. It shows up in the bill for the next feature.

How I approach it

I start with the data, not the screens. What are the things in your business, how do they relate, and which of those relationships will be expensive to change later? A few early modelling choices decide how much the product costs to build for years, which is why I wrote a whole post on the schema decisions you can't undo.

Next comes access: who can see and change what, written down and enforced in one place on the server, not scattered across components. Authentication is a solved problem you can buy. Authorization is specific to your product, and it's where most apps leak.

Then the app itself. Next.js with server components, so pages arrive fast and readable by search engines, and data code lives next to the UI that uses it. TypeScript end to end, so a change in one place flags every place it breaks. Postgres, because it's reliable and handles almost every shape of data a growing product needs. Tailwind and accessible components, so the interface works for keyboard and screen-reader users from day one rather than after an audit.

For SaaS, the tenancy model is decided first, because it's the hardest thing to change. Billing is wired to the plans and limits the app actually enforces. Roles are designed past the single-admin case, so the first enterprise customer doesn't need a rewrite.

Every change goes through preview deploys and automated checks. You see each feature running before it merges, and a performance budget in CI catches regressions before your users do.

I work remotely with teams in the US, EU and Canada, with working hours that overlap most of their day and written updates in between.

Where it usually goes wrong

The first mistake is building screens before the model. It feels faster for two weeks and slower for two years.

The second is choosing the stack for the CV, not the problem. A marketing site doesn't need microservices, and a complex product shouldn't live in a page builder. If you're deciding between the two, Next.js vs WordPress for a startup website sets out the trade-offs.

The third is treating handover as a zip file. Code nobody else can read is a dependency, not an asset. Conventions, decisions and setup steps belong in the repository, written for the next engineer.

The fourth is rewriting what works. When I join an existing codebase, I read it first, write down its conventions and change it in small reviewed steps.

What you walk away with

A production web app or SaaS product running on accounts in your name: repository, hosting, database and every third-party service. A data model and access rules that were designed rather than accumulated. A deploy pipeline with previews, checks and a performance budget, so quality holds after I've gone. And documentation that lets your next hire make a change in their first week.

Maintenance afterwards is optional, never a dependency. If you have a product to build or one that's slowing down, tell me about it.

Questions

  • Server rendering gives faster first loads and pages search engines can read, and keeping the UI and its data code together removes a whole layer of glue. Where a separate API is the right call, for mobile clients or partners, I build one.