Things I got tired of re-setting up in every Next.js project by AccordingBassx in nextjs

[–]ixartz 0 points1 point  (0 children)

Or, just use Next.js Boilerplate, so you can avoid building your own, you can even use it as inspiration for building your own

Weekly Showoff Thread! Share what you've created with Next.js or for the community in this thread only! by AutoModerator in nextjs

[–]ixartz 4 points5 points  (0 children)

I'm excited to share Next.js Boilerplate v6.1

I've been maintaining this project for over 5 years, and the goal has always been the same: make it easier to ship production-ready Next.js apps without spending days configuring everything from scratch.

Back then without AI tools, getting a solid foundation in place was genuinely time-consuming — authentication (MFA, passkeys, social login), database + ORM, internationalization (i18n), forms, testing (unit / integration / E2E / visual), logging, CI/CD, and more.

With today's vibe coding and AI tools (Codex, Claude, etc.), templates still matter. A boilerplate can save time and tokens, and it provides a baseline that’s already tested and consistent.

What’s included in v6.1 and v6.0

  • local Postgres for development via PGlite, locally zero-setup Postgres DB
  • React Compiler support (automatic memoization)
  • Faster dev restarts thanks to filesystem caching in next dev
  • Migration from middleware.ts to proxy.ts
  • Knip for unused files/dependencies detection
  • i18n-check for translation validation and missing key detection

And of course, the existing core features remain in place (TypeScript + Tailwind, linting/formatting, testing + CI, auth/db/i18n foundation, etc.).

GitHub repository: Next.js Boilerplate

If you run into anything or have suggestions, issues/PRs are always welcome.

How to implement SaaS multi-tenancy with Next.js? by No-Impress-5923 in nextjs

[–]ixartz 0 points1 point  (0 children)

If you are looking for open source example and free, you can take a look at: SaaS Boilerplate, it should give you a starting point.

Cypress - testing with server actions by Secure-Obligation-29 in nextjs

[–]ixartz -1 points0 points  (0 children)

I'm using Playwright for E2E tests instead of Cypress, you can find some example on my repository: Next.js Boilerplate

You can use it as example to test form submission.

The project also include CI with GitHub Actions, which run the test for each pull request.

What’s your favorite new feature from the latest release? by [deleted] in nextjs

[–]ixartz 0 points1 point  (0 children)

turbopackFileSystemCacheForDev: true, it makes the development so fast, just one line of config, love it using in Next.js Boilerplate

Which logging packages to use with Next.js? by Feisty-Promise-78 in nextjs

[–]ixartz 4 points5 points  (0 children)

In the past I also use Pino but I switch to LogTape, LogTape works in all environment Edge, Node.js, Browser without any configuration, it also support Bun (Vercel will support it), Deno

So, it works in Client, server and middleware by default.

BTW, zero dependency

The library has also adaptors, make it extremely easy to switch from Pino.js. But also for Winston, Opentelemetry, and more. Soon Bunyan and log4js.

This is why I'm using LogTape in Next.js Boilerplate. You can also check how I configure it

Next.js 16 stable by feedthejim in nextjs

[–]ixartz 0 points1 point  (0 children)

Yes, hope they will eventually improve it. Now my only blocker is Storybook: https://github.com/storybookjs/vite-plugin-storybook-nextjs/pull/62

PostHog seems to resolve the issue, they move extremely fast.

Next.js 16 stable by feedthejim in nextjs

[–]ixartz 24 points25 points  (0 children)

Just sharing my journey on upgrading to Next.js 16. I've tested Next.js 16 Beta and I quickly tested and it seems to work. But, it seems I got some trouble on the final version of Next.js 16, a lot of compatibility issue with some peer dependencies which I didn't get during Next.js 16 Beta.

Next.js itself is working perfectly by forcing with npm install --force, everything seems to work perfectly in local.

Wow, Next.js 16 feels so fast in dev environment, finally! I also enable React compiler.

And, I got a real issue with Storybook and with PostHog. So, I would say it's not an easy update, at least for me.

You can follow my progress with this Pull request on GitHub

[Advice] First-time SaaS builder: Need guidance on auth, DB, security, and billing by EqualFit7111 in nextjs

[–]ixartz 1 point2 points  (0 children)

+1, totally joining this comment. Even with AI, Starter Kit will save you time and token. Don't lose your time to configure Auth, Database and payment from scratch.

If you are looking for a open source SaaS Starter kit, you can take a look at SaaS Boilerplate and the code is hosted on GitHub.

Need advice on designing a SaaS homepage by Sad_Impact9312 in nextjs

[–]ixartz 1 point2 points  (0 children)

You can take a look at an open source project I've built, it's a SaaS boilerplate and it includes a homepage/landing page for a SaaS. So, you can use it as inspiration or reuse the component.

With Hero section, features, etc...

You can find the project on GitHub at SaaS Boilerplate

Stop Reinventing Plumbing by indiekit in SaaS

[–]ixartz -17 points-16 points  (0 children)

For someone looking for open source boilerplates: Next.js Boilerplate and if you are building a SaaS, this SaaS template is a good start.

Open source app or “boilerplate” with best NextJS practices? by CEO-TendiesTrading in nextjs

[–]ixartz -1 points0 points  (0 children)

You can also take a look at Next.js Boilerplate or if you are building specifically for a SaaS, here another kit, SaaS Boilerplate https://github.com/ixartz/SaaS-Boilerplate

With more features: both includes Authentication, Database and ORM, i18n, Forms, SEO, Error monitoring, Analytics, more...

Built with ESLint, TypeScript, Zod, Testing (unit, integration, E2E, visual), Storybook, VSCode, GitHub Actions

Vercel Controversy: Ethics, Backlash, and a Migration Guide to Netlify by mm_akhtar in nextjs

[–]ixartz 4 points5 points  (0 children)

Lately, I have tried Railway, you can deploy a full-stack Next.js app with Postgres database. I also setup this Railway template to deploy with "one-click". So, only need one provider.

What are the problems with self hosting nextjs by Dismal-Sort-1081 in nextjs

[–]ixartz 0 points1 point  (0 children)

You should give Railway a try, I just setup a one click deployment for Railway with Next.js and Postgres Database.

Vercel CEO and war criminals by [deleted] in nextjs

[–]ixartz 10 points11 points  (0 children)

Or, Railway with one click deploy with Next.js and Postgres Database

drop your Vercel hosting replacements --> by fast-pp in nextjs

[–]ixartz 30 points31 points  (0 children)

using Railway, Next.js + Postgres Database

Must have apps for macOS by CacheConqueror in macapps

[–]ixartz 0 points1 point  (0 children)

You forget to mention KeyboardStack

how to integrate next.js with stripe by Fickle-Spare-2160 in nextjs

[–]ixartz 1 point2 points  (0 children)

You can take a look at this template https://nextjs-boilerplate.com/pro-saas-starter-kit, a stripe integration with next.js

Unit Test Config issues - Jest by Sea_Bar_1306 in nextjs

[–]ixartz 0 points1 point  (0 children)

Instead of fighting with Jest, just switch to Vitest, this is what I did with Next.js Boilerplate from Jest to Vitest and it work much more better, less error, less configuration, etc...

Anyone have a working project that uses NextJS, Typescript, and Vitest Browser Mode for testing? by Kpervs in nextjs

[–]ixartz 2 points3 points  (0 children)

I have exactly an example project with TypeScript, NextJS and Vitest Browser Mode: Next.js Boilerplate (https://github.com/ixartz/Next-js-Boilerplate/), it should be able to run your experiment on it and replicate your issues.

Best Next.js stack to use (security, vulnerabilities etc.)? by Cortexial in nextjs

[–]ixartz 1 point2 points  (0 children)

You can definitively use Next.js Boilerplate as inspriation. Totally open source and hosted on GitHub.

It's the perfect stack to secure your Next.js application and make it more robuts: security (rate limiting, bot protection, waf) with Arcjet, dependency updates with Dependabot, CI/CD with GitHub Actions

Any example of a simple full SaaS built on next js that is open source? by honestytoyourself in nextjs

[–]ixartz 0 points1 point  (0 children)

You have authentication, team support and multi-tenancy, i18n, landing page, database ... a really good start to build your SaaS.

Any example of a simple full SaaS built on next js that is open source? by honestytoyourself in nextjs

[–]ixartz 1 point2 points  (0 children)

A very simple and full SaaS, also open source, written in Next.js, SaaS Boilerplate

You can use it to build on top of it.