maxstack

0.4.0 • Public • Published

🚀 MAXSTACK

The AI-First Full-Stack Framework

Build web-apps faster with built-in templates and guardrails so your AI can code faster.

npm version TypeScript License: MIT

Getting StartedFeaturesTech StackDocumentation


🎯 What is MAXSTACK?

MAXSTACK is a modern CLI tool that scaffolds full-stack React applications with AI-powered development workflows. It provides a carefully curated tech stack, pre-built templates, and intelligent code generation to help you ship faster.

Create a production-ready app in 3 commands:

npx maxstack init my-app # 🎨 Interactive project setup
cd my-app && npm install # 📦 Install dependencies
npm run dev              # 🚀 Start developing

✨ Features

🤖 AI-Powered Development

  • Generate components, routes, and schemas with maxstack gen
  • AI-assisted code scaffolding and template creation
  • Intelligent project structure and best practices

🎨 Built-in Design System

  • Beautiful, accessible templates for common pages
  • Blog, marketing, auth, and SaaS templates included
  • Responsive design with Tailwind CSS and shadcn/ui components

Production-Ready Stack

  • Full-stack TypeScript with React Router v7
  • Database with Drizzle ORM and SQLite
  • Authentication with Better Auth
  • Email system with React Email
  • End-to-end testing with Playwright

🚀 Deploy Anywhere

  • One-click deployment to Fly.io
  • Docker containerization included
  • Automatic database migrations
  • GitHub Actions CI/CD ready

🛠 Tech Stack

MAXSTACK includes everything you need for modern web development:

Category Technology Purpose
Frontend React 19 + React Router v7 Modern full-stack React with routing
Styling Tailwind CSS + Radix UI Utility-first CSS with accessible components
Backend Node.js + TypeScript Type-safe server-side development
Database Drizzle ORM + SQLite Type-safe database queries and migrations
Auth Better Auth Modern authentication with multiple providers
Email React Email + Resend Templated emails with React components
Testing Vitest + Playwright Unit, integration, and E2E testing
Code Quality Biome + TypeScript Fast linting, formatting, and type checking
Deployment Fly.io + Docker Production deployment with containers

🚀 Getting Started

Prerequisites

  • Node.js 20.19.0 or higher
  • npm, pnpm, or yarn

Create Your First App

# Create a new MAXSTACK project
npx maxstack init my-awesome-app

# Navigate to your project
cd my-awesome-app

# Install dependencies
npm install

# Start the development server
npm run dev

Your app will be running at http://localhost:5173 with:

  • ✅ Authentication system ready
  • ✅ Database configured
  • ✅ UI components available
  • ✅ Testing setup complete

Generate a project with scaffolding

# Generate new components and features with AI
npx maxstack gen

# Examples of what you can generate:
# - Blog system with posts and categories
# - User dashboard with analytics
# - E-commerce product catalog
# - Contact forms and landing pages

📋 Available Scripts

Every MAXSTACK project comes with these development commands:

npm run dev       # Start development server
npm run build     # Build for production
npm run start     # Start production server
npm run test      # Run unit tests with Vitest
npm run test:e2e  # Run E2E tests with Playwright
npm run lint      # Lint and format code with Biome
npm run typecheck # Type check with TypeScript
npm run validate  # Run all checks (lint + test + typecheck)
npm run db:push   # Push database schema changes
npm run db:studio # Open database admin interface

🎯 Project Structure

MAXSTACK creates a well-organized project structure:

my-app/
├── app/                    # Application code
│   ├── components/         # Reusable UI components
│   │   ├── templates/      # Page templates (blog, landing, etc.)
│   │   └── ui/            # Basic UI components (buttons, forms, etc.)
│   ├── routes/            # File-based routing with React Router
│   ├── services/          # Business logic and API calls
│   ├── hooks/             # Custom React hooks
│   └── utils/             # Utility functions
├── database/              # Database schema definitions
├── drizzle/               # Database migrations
├── e2e/                   # End-to-end tests
├── public/                # Static assets
├── scripts/               # Build and deployment scripts
└── maxstack.tsx           # Project configuration

🎨 Standard Features

MAXSTACK includes production-ready templates for common use cases:

📝 Blog System

# Generate a complete blog with posts, categories, and admin
npx maxstack init my-blog
# Select "Blog" when prompted for features
  • SEO-optimized blog posts
  • Category and tag management
  • Markdown content support
  • Admin interface included

💼 SaaS Marketing Site

# Create a modern SaaS landing page
npx maxstack init my-saas
# Select "SaaS Marketing" when prompted
  • Landing page with hero section
  • Pricing tables and feature grids
  • Newsletter sign-up forms
  • Customer testimonials

🔧 AI-Ready

AI can know what to do when there are clear conventions, and included Agents.md file, and validation scripts.

Start with adding pages into maxstack.tsx, run npx maxstack gen, and you will have your pages, components, and tests stubbed out, ready for your AI assistant to fill things out.

📚 Documentation

🚀 Deployment

Fly.io (Recommended)

Deploy to Fly.io with one command:

npm run deploy

This automatically:

  • ✅ Builds your application
  • ✅ Runs database migrations
  • ✅ Deploys with zero downtime
  • ✅ Sets up monitoring and health checks

Digital Ocean

Fill in the env variables requested in scripts/deploy-digitalocean.sh, and run it with pnpm run deploy:digitalocean

Other Platforms

MAXSTACK works with any Node.js hosting platform and comes with an included Dockerfile:

  • Vercel: npm run build && vercel deploy
  • Railway: Connect your GitHub repo
  • AWS/GCP: Deploy with standard Node.js configuration

🤝 Community & Support

🗺️ Roadmap

Coming Soon

In Development

  • [ ] More AI model integrations (Claude, Gemini)
  • [ ] Advanced deployment options (Kubernetes, AWS)
  • [ ] More Standard Features
  • [ ] Advanced analytics dashboard
  • [ ] Multi-tenant SaaS features

💎 Pro Features

  • Advanced AI Models: Access to GPT-4, Claude 3, and specialized code models
  • Premium Templates: E-commerce, CRM, and enterprise applications
  • Priority Support: Direct access to the MAXSTACK team
  • Custom Integrations: Tailored solutions for your specific needs

🧪 Try It Now

Quick Demo: Create a todo app in 2 minutes

npx maxstack init todo-demo
cd todo-demo && npm install && npm run dev

📄 License & Contributing

MAXSTACK is MIT licensed. See LICENSE.md for details.

Contributing: We welcome contributions! See our Contributing Guide and Development Setup.


⭐ Star this repo if MAXSTACK helps you build faster!

Built with ❤️ by the MAXSTACK team

Contributors

Daniel Arrizza
Daniel Arrizza

💻 🖋 📖 🤔 🚇 🚧 📆 🔧

👪 All Contributors: 1 🤝 Code of Conduct: Kept 🧪 Coverage 📝 License: MIT 📦 npm version 💪 TypeScript: Strict

Dependencies (6)

Dev Dependencies (35)

Package Sidebar

Install

npm i maxstack

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

907 kB

Total Files

265

Last publish

Collaborators

  • sys13