Skip to content
/ ninjutsu Public template

Strong opinionated stack built on top of Nextjs. Made by ⚡Sieutoc.

License

Notifications You must be signed in to change notification settings

getsieutoc/ninjutsu

Repository files navigation

Ninjutsu Stack

Made by ⚡Sieutoc

Features

This template includes the following:

  • Next.js 14
  • TypeScript
  • ESLint
  • Prettier
  • Chakra UI
  • Prisma
  • Next-Auth
  • Docker Compose with:
    • PostgresQL
    • Redis
    • Mailpit

Demo

https://platform.sieutoc.website

Getting Started

For Development

  • We use pnpm package manager. Get it here.
  • Make sure Docker up and running.
  • If your Docker account has 2FA enabled, you have to create a Personal Access Token and login before:
    • Follow this guide.
    • Login with docker login --username <your-username>

Clone the project

You can either use this template by:

  • Click the "Use this template" button and follow the instruction
  • Or using the script below:
pnpm dlx tiged websitesieutoc/ninjutsu your-project

Then, search and replace ninjutsu with your project slug.

Install dependencies

cd your-project
pnpm install

Setup environment variables

For the first time, you need some default environment variables:

cp .env.example .env

Then, run the development server:

pnpm dev

Open http://localhost:3000 with your browser and start developing.

Good to know

  • This project uses App Router feature.
  • We try to take adventage of Next.js's ecosystem, thus most of the features here are built on top of Next.js best practices.
  • We use Chakra UI as our primary library. For ready-made themes, please find it at our themes repo.
  • In the future we will launch a tool for customising your own themes soon!

Why do not use here?

  • We're fully aware of the headless CMS system.
  • But there are ton of boilerplats out there, which already do a great jobs, so we do not want to re-invent them.
  • Most of them are really tightly coupled with the headless CMS API, so customers always end up to hack around a lot.
  • We need only a lite version of CMS, nothing else.