⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

StackKit is a production-ready project starter & CLI toolkit for modern web apps — providing opinionated stacks, reusable templates, and scalable architecture.

License

Notifications You must be signed in to change notification settings

tariqul420/stackkit

StackKit

Production-ready full-stack project generator with zero configuration.

npm License: MIT GitHub Stars

Scaffold complete full-stack applications in seconds with your choice of framework, database, and authentication—all pre-configured and production-ready.

Features

  • Project ready in under 60 seconds
  • Framework support: Next.js, Express, React
  • Multiple databases: PostgreSQL, MySQL, MongoDB, SQLite
  • Authentication: Better Auth or Auth.js
  • Modular architecture - add features incrementally
  • TypeScript-first with strict mode
  • Production-ready with best practices built-in
  • Built-in health diagnostics

Requirements

  • Node.js >= 18
  • npm, pnpm, yarn, or bun

Quick Start

Create New Project

# Interactive mode (recommended)
npx stackkit@latest create my-app

# Or specify everything upfront
npx stackkit@latest create my-app \
  --framework nextjs \
  --database prisma-postgresql \
  --auth better-auth

Add Features to Existing Project

# Add authentication
npx stackkit@latest add

# Verify project health
npx stackkit@latest doctor

Available Options

Frameworks

  • Next.js - Full-stack React with App Router
  • Express - Node.js REST API with TypeScript
  • React - Frontend SPA with Vite

Databases

  • Prisma - PostgreSQL, MySQL, MongoDB, SQLite
  • Mongoose - MongoDB ODM

Authentication

  • Better Auth - TypeScript-first auth for all frameworks
  • Auth.js - NextAuth.js v5 for Next.js

Examples

# Next.js with PostgreSQL and Better Auth
npx stackkit@latest create my-app \
  --framework nextjs \
  --database prisma-postgresql \
  --auth better-auth

# Express API with MongoDB
npx stackkit@latest create my-api \
  --framework express \
  --database mongoose \
  --auth better-auth

# React SPA with authentication
npx stackkit@latest create my-spa \
  --framework react \
  --auth better-auth

# Minimal start, add features later
npx stackkit@latest create my-app --framework nextjs --database none
cd my-app
npx stackkit@latest add

CLI Commands

Command Description
create <name> Generate new project
add Add features to existing project
doctor Diagnose project health
list Show available options
--help Show help for any command

What You Get

Every StackKit project includes:

  • TypeScript with strict configuration
  • ESLint with recommended rules
  • Environment variable management
  • Git initialization with .gitignore
  • Package scripts for dev, build, and production
  • Comprehensive README with setup instructions
  • Module-specific configurations

Documentation

Full documentation: https://stackkit.tariqul.dev

Development

Clone and run locally:

git clone https://github.com/tariqul420/stackkit.git
cd stackkit
pnpm install
pnpm build
pnpm dev

Notes:

  • Commands run across the workspace using pnpm workspaces where applicable.
  • Use pnpm -w -r run <script> to target workspace scripts explicitly.

Contributing

Contributions are welcome. See CONTRIBUTING.md for guidelines and code style.

When opening issues or pull requests, please include relevant details (version, Node, package manager, OS, command, reproduction steps).

Support & Security

  • For general questions or feature requests: open an issue or discussion on GitHub.
  • For security-sensitive reports: use GitHub Security Advisories (private) or open an issue and mark it with the security label — do not post exploit details publicly.

License

MIT © Tariqul Islam


Questions? Open an issue or start a discussion.

About

StackKit is a production-ready project starter & CLI toolkit for modern web apps — providing opinionated stacks, reusable templates, and scalable architecture.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published