@jagadhis/fullstack-monorepo-template
v1.30.3
Published
A full-stack monorepo template with Next.js, Node.js, Supabase, and Prisma
Downloads
1,475
Maintainers
Readme
Full-stack Monorepo Template
A modern, production-ready monorepo template featuring Next.js, Node.js, Supabase, and Prisma.
Features
- 🏗️ Monorepo Structure using Turborepo
- 🎯 Type Safety with TypeScript
- 🚀 Frontend with Next.js
- 🛠️ Backend with Node.js & Express
- 📦 Database with Prisma & Supabase
- 🔄 Version Control with semantic-release
- 📋 Code Quality with ESLint & Prettier
- 🪝 Git Hooks with lefthook
- 🏃♂️ Fast Builds with Turborepo's caching
Quick Start
npx @jagadhis/fullstack-monorepo-template my-app
cd my-app
npm run dev
Project Structure
.
├── apps/
│ ├── frontend/ # Next.js frontend
│ └── backend/ # Node.js & Express backend
├── packages/
│ └── types/ # Shared TypeScript types
├── package.json
└── turbo.json
Available Scripts
npm run dev
- Start development serversnpm run build
- Build all packagesnpm run lint
- Lint all packagesnpm run test
- Run tests across packages
Environment Setup
- Frontend (.env.local):
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_key
- Backend (.env):
DATABASE_URL=your_database_url
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'feat: add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Commit Convention
This project follows Conventional Commits:
feat:
New featuresfix:
Bug fixesdocs:
Documentation changesstyle:
Code style changesrefactor:
Code refactoringtest:
Adding or modifying testschore:
Maintenance tasks
License
MIT © [jagadhis]
Support
If you find this template helpful, please consider giving it a ⭐️ on GitHub!
For issues and feature requests, please use the GitHub issues page.