Skip to content

Hamzaa6296/nestlaunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ NestLaunch

Production-ready SaaS boilerplate built with NestJS + Next.js + MongoDB + Stripe

Report Bug Β· Request Feature Β· Pro Version


πŸ“Œ What is NestLaunch?

NestLaunch is a full-stack SaaS boilerplate that gives you a production-ready foundation so you can skip the boring setup and focus on building your actual product.

Most boilerplates use Express or serverless functions as backend. NestLaunch is different β€” it uses a proper, dedicated NestJS backend paired with Next.js frontend in a clean Turborepo monorepo.


✨ Free Version Features

Backend (NestJS)

  • βœ… NestJS + MongoDB + Mongoose setup
  • βœ… JWT Authentication (signup, login)
  • βœ… Email OTP Verification
  • βœ… Forgot Password / Reset Password
  • βœ… Input validation with class-validator
  • βœ… Swagger API documentation (auto-generated)
  • βœ… Environment config with @nestjs/config
  • βœ… Global error handling & logging
  • βœ… Docker + docker-compose setup

Frontend (Next.js)

  • βœ… Next.js 14 App Router
  • βœ… TypeScript configured
  • βœ… Tailwind CSS + shadcn/ui
  • βœ… Redux Toolkit setup
  • βœ… Auth pages (signup, login, OTP verify, forgot password)
  • βœ… Protected routes middleware
  • βœ… Basic user dashboard

DevOps

  • βœ… Turborepo monorepo structure
  • βœ… Docker + docker-compose
  • βœ… ESLint + Prettier configured
  • βœ… .env.example files

πŸ’Ž Pro Version

The Pro version includes everything above PLUS:

Backend extras

  • πŸ’Ž Stripe subscription payments (monthly/yearly)
  • πŸ’Ž Stripe webhook handler
  • πŸ’Ž Role-based access control (admin/user)
  • πŸ’Ž File upload (local + AWS S3)
  • πŸ’Ž Email notifications (welcome, invoice, alerts)
  • πŸ’Ž Rate limiting + security headers
  • πŸ’Ž Unit tests setup (Jest)

Frontend extras

  • πŸ’Ž Full admin dashboard
  • πŸ’Ž User management panel
  • πŸ’Ž Stripe pricing page + checkout flow
  • πŸ’Ž Subscription management page
  • πŸ’Ž Dark mode support
  • πŸ’Ž Landing page template

DevOps extras

  • πŸ’Ž Production Docker setup
  • πŸ’Ž GitHub Actions CI/CD
  • πŸ’Ž Vercel + Railway deployment guide

πŸ‘‰ Get Pro Version - $79 ← (link coming soon)


πŸ› οΈ Tech Stack

Layer Technology
Backend NestJS, Node.js, TypeScript
Frontend Next.js 14, React, TypeScript
Database MongoDB, Mongoose
Auth JWT, Passport.js, Nodemailer
Payments Stripe (Pro)
State Redux Toolkit
UI Tailwind CSS, shadcn/ui
Monorepo Turborepo
DevOps Docker, GitHub Actions

πŸ“ Project Structure

nestlaunch/
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ backend/          ← NestJS API
β”‚   └── frontend/         ← Next.js App
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ types/            ← Shared TypeScript types
β”‚   └── config/           ← Shared ESLint/TS configs
β”œβ”€β”€ docker-compose.yml
β”œβ”€β”€ turbo.json
β”œβ”€β”€ package.json
└── README.md

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • MongoDB (local or Atlas)
  • npm or yarn

Installation

# Clone the repo
git clone https://github.com/Hamzaa6296/nestlaunch.git

# Navigate to project
cd nestlaunch

# Install dependencies
npm install

# Copy environment files
cp apps/backend/.env.example apps/backend/.env
cp apps/frontend/.env.example apps/frontend/.env

# Start development servers
npm run dev

Backend runs on β†’ http://localhost:3001 Frontend runs on β†’ http://localhost:3000 Swagger docs β†’ http://localhost:3001/api


🀝 Contributing

Contributions are welcome! Please read CONTRIBUTING.md first.

  1. Fork the repository
  2. Create your branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Check issues labeled good first issue to get started.


πŸ“„ License

MIT License β€” see LICENSE for details.


If this project helps you, please give it a ⭐ β€” it means a lot!

Made with ❀️ by Hamza

About

πŸš€ Production-ready SaaS boilerplate built with NestJS, Next.js, MongoDB, TypeScript & Stripe

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors