Introduction

OverviewPhilosophyStructureUpdatesFAQ

Usage

Other

The standard

Overview

What is kreogen and how do I get started?

kreogen is a production-grade Turborepo template for Next.js apps. It is designed to be a comprehensive starting point for new apps, providing a solid, opinionated foundation with a minimal amount of configuration.

It is the repository Kreotic starts client engagements from. The agency builds SaaS platforms, dashboards and marketing sites in short, focused sprints, which only works if authentication, billing, email and deployment are already solved on day one. Everything here has been through a real project; when an engagement proves a decision wrong, the template changes.

What you get

Seven apps and twenty shared packages in one Turborepo:

  • An authenticated product app with organizations, a marketing site, an API for webhooks and scheduled work, a React Email preview, this documentation site, Prisma Studio and Storybook
  • Better Auth, Prisma and Postgres, Stripe, Resend, PostHog and Redis, each wired up but each optional
  • One Dockerfile for every app, parameterised by build argument, and GitLab CI to build and publish them

Only DATABASE_URL and BETTER_AUTH_SECRET are required. Every other integration is undefined until you supply its key, so the repository runs before you have a single vendor account.

Getting started

npx @kreotic/kreogen@latest init

Then read the quickstart, or the philosophy if you want to know why it is put together this way.

Contributing

Contributions are welcome. See the contributing guide for how to propose a change.

On this page

GitLabEdit this page on GitLab