Build high-performance apps swiftly with minimal team resources in Go.
SUPERKIT is a full-stack web framework designed for speed and simplicity. It provides essential tools and libraries to help developers build modern web applications with ease.
- ๐ Features
- ๐ฅ Installation
- ๐ Getting Started
- ๐ Database Migrations
- ๐ Creating Views with Templ
- โ Validations
- ๐งช Testing
- ๐ฆ Production Release
โ
Lightweight & Fast โ Built on Go for blazing-fast performance.
โ
Modular Design โ Well-structured and easy to extend.
โ
Built-in Database Support โ Migrations, seeds, and ORM included.
โ
Templ-based Views โ Type-safe templating engine for UI components.
โ
Hot Reloading โ Instant feedback during development.
โ
One-Binary Deployment โ Compiles your app into a single executable.
Create a new SUPERKIT project with a single command:
# Initialize a new SUPERKIT project
go run github.com/khulnasoft/superkit@master [yourprojectname]
# Navigate into your project
cd [yourprojectname]
# Install TailwindCSS & esbuild
npm install
# Resolve Go dependencies
go clean -modcache && go get -u ./...
# Initialize database migrations (if authentication plugin is enabled)
make db-upโโโ bootstrap
โ โโโ app
โ โ โโโ assets # Static files (CSS, JS)
โ โ โโโ conf # Configuration files
โ โ โโโ db # Database migrations
โ โ โโโ events # Custom event handlers
โ โ โโโ handlers # Request handlers (controllers)
โ โ โโโ types # Data models and interfaces
โ โ โโโ views # HTML templates
โ โโโ cmd
โ โ โโโ scripts # CLI commands & seed scripts
โ โโโ plugins
โ โ โโโ auth # Authentication module
โโโ public # Public assets
โโโ kit # Core framework utilities
โโโ validate # Validation utilities
โโโ view # View engine utilities
โโโ Makefile # Build & run scripts
โโโ go.mod # Go dependencies
โโโ README.md # Project documentation
Run the development server:
make devHot reloading is enabled by default for CSS & JS.
Note: On Windows (WSL2), you might need to run this command separately:
make watch-assets
make db-mig-create add_users_tableโก๏ธ Generates a new migration SQL file in app/db/migrations/
make db-upmake db-resetmake db-seedโก๏ธ Runs the seed script in cmd/scripts/seed/main.go
SUPERKIT uses Templ for type-safe UI components.
Create structured, reusable HTML fragments with Go templates.
Stay tuned for built-in validation utilities!
make testโก๏ธ Runs automated tests for controllers & business logic.
Compile your application into a single binary:
make buildโก๏ธ Creates a production-ready binary at /bin/app_prod.
Set the environment to production:
SUPERKIT_ENV=production๐ Start building with SUPERKIT today! ๐