Tired of manually setting up full-stack projects every time? π©
Say hello to Hackpack β your all-in-one project bootstrapper that turns setup time into build time
Quick Start β’ Features β’ CLI Commands β’ Supported Stacks
Hackpack is a powerful CLI tool that scaffolds hackathon-ready full-stack applications in seconds. Stop wasting time on repetitive setup β let the CLI handle your project structure, UI libraries, databases, authentication, and more with a single command
npm i -g hackpack-cliNode.js >= 18.7.0 (recommended)
|
Lightning-Fast Setup Modern Frameworks Pre-configured UI |
Database Ready Auth Integration Your Hackathon Superpower |
| Frontend | Backend | Database | Auth | UI Libraries |
|---|---|---|---|---|
| β React (Vite) | β Node.js | β MongoDB | β Clerk | β shadcn/ui |
| β Next.js | β Express | π PostgreSQL (beta) | π Supabase | β DaisyUI |
| β Astro | π Prisma | π MySQL | π Auth0 | β Material UI |
| β Vue | π NestJS | π SQLite | β Hero UI | |
| β Nuxt | π FastAPI | β Ant Design & more | ||
| β Angular | π Django | |||
| β Svelte |
# Install globally
npm install -g hackpack-cli
# Then run
hpSimply run the command and follow the prompts:
hpThe interactive wizard will guide you through:
- Project name and location
- Framework selection (React, Next.js, Vue, etc.)
- Database choice (MongoDB, PostgreSQL)
- Authentication setup
- UI library preferences
| Command | Description |
|---|---|
hp |
Launch interactive wizard (recommended for beginners) |
hp -h, hp --help |
Display help and command usage |
hp reset |
Clear all locally saved state and configurations |
hp state |
View all saved projects and highlight the active one |
hp resume |
Resume an interrupted or incomplete setup |
hp run |
Execute setup for the currently selected project |
| Command | Description |
|---|---|
hp select <project-name> |
Set a project as active for operations |
hp projects |
List all projects created with Hackpack |
hp name <new-name> |
Rename the currently active project |
hp add ui <library> |
Add a UI library to your project |
hp uninstall ui <library> |
Remove an installed UI library |
hp migrate |
π Migrate project to newer template versions |
# Add UI libraries on the fly
hp add ui shadcn
hp add ui daisyui
# Remove unwanted libraries
hp uninstall ui tailwind
# Check your saved projects
hp projects
hp stateSpeed up your workflow with terminal autocompletion:
| Command | Description |
|---|---|
hp autocomplete install |
Show instructions for shell autocomplete (bash, zsh, fish) |
hp autocomplete uninstall |
Remove autocomplete configuration |
# Enable autocomplete
hp autocomplete install
# Follow the instructions for your shellHackpack keeps track of your setup progress and project preferences using a persistent state file. This is especially useful when:
- You stop midway during setup (e.g., terminal closes unexpectedly)
- You want to resume an incomplete setup
- You're managing multiple projects at the same time
The state is stored in a hidden .hackpack-state.json file (in your project folder or home directory), and it keeps track of configuration choices and setup progress.
- Project Name
- Framework (React, Next.js, Angular, etc.)
- Styling & UI libraries (shadcn/ui, DaisyUI, etc.)
- Database (MongoDB, PostgreSQL)
- Authentication (Clerk, Supabase, etc.)
- Setup Step Tracking (for resume support)
Each project you create gets its own state and can be resumed or configured independently!
Hackpack automatically configures a MongoDB backend for your project, tailored to the selected framework (Next.js, Astro, SvelteKit, Nuxt, or Node.js backend).
Once you choose a database option (like MongoDB), Hackpack generates all the necessary folders, files, and environment variables required.
Once setup is done, you only need to:
- Create your models inside the generated
/modelsdirectory. - Call the
ConnectToDB()function (auto-generated in the project) to establish a connection whenever your app starts. - Hackpack ensures your app connects to MongoDB instantly without manual configuration.
| Command | Purpose |
|---|---|
hp |
Start a new project with a clean state |
hp run |
Builds or continues setup for the active project |
hp resume |
Resume the last project setup from where you left off |
hp select <project> |
Switch between saved projects before running/resuming |
hp state |
View all saved project states and active project |
hp reset |
Completely clears all saved state (fresh start) |
React (Vite) β’ Next.js β’ Astro β’ Vue β’ Nuxt β’ Angular β’ SvelteKit
Node.js β’ Express β’ Prisma (coming soon) β’ NestJS (coming soon) β’ FastAPI (coming soon)
shadcn/ui β’ DaisyUI β’ Material UI β’ Hero UI β’ Ant Design β’ Angular Material and many more...
MongoDB β’ PostgreSQL (beta) β’ MySQL (coming soon) β’ SQLite (coming soon)
Clerk β’ Supabase (coming soon) β’ Auth0 (AngularJS)
We love contributions! Whether it's a bug report, feature request, or pull request β all are welcome
Open an issue with:
- Clear description of the problem
- Mail to [varun.singh10011@gmail.com] or [yashverma221004@gmail.com]
- Steps to reproduce
- Expected vs actual behavior
- Your environment (OS, Node version, etc.)
Distributed under the Proprietary License. See LICENSE for more information
By TeamHackpack ( Varun & Yash ) β because setup time is coding time wasted!