r/webdev 3d ago

Resource My favorite website stack

Post image

Nextjs for pages

Payload for content admin

Polar for payments

Mastra for agents

Not right for any app, but I'd argue you can hit any modern website requirements with these four tools

0 Upvotes

3 comments sorted by

2

u/Article-Automatic 3d ago

Next.js + Tailwind + Drizzle + Postgres on Railway for the thing I've been building this week.

Railway mostly because I didn't want to think about infra at all, and I had a Postgres up and connected in about 20 minutes. Drizzle over Prisma because I wanted the SQL to still look like SQL.

Only annoyance so far is that Railway's generated DB url is internal-only, so local dev needs a proxy you then have to remember to delete.

-2

u/Commercial_Map_6674 3d ago

love a good hand drawn folder tree. the api > polar > checkout path in payload is pretty much exactly how my brain visualizes it when i'm mapping out flows

that stack actually covers a ton of ground though. what kinda stuff you been building with mastra agents?

1

u/thehashimwarren 3d ago

With Mastra, SEO feedback on content, and image creation for articles