A powerful Next.js application foundation featuring workflow automation, authentication, and background job processing. Built for scalability and developer experience.
- Advanced Authentication: Secure user management powered by Better Auth.
- Workflow Automation: Built-in engine for defining
workflows,triggers, and trackingexecutions(powered by Inngest). - Subscription Ready: Integrated with Polar for SaaS monetization and subscription management.
- Background Jobs: Robust asynchronous task processing using Inngest.
- Type-Safe API: End-to-end type safety with tRPC.
- Modern UI: Polished interface built with Tailwind CSS and Radix UI.
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Database: Prisma (ORM)
- Styling: Tailwind CSS
- State Management: Jotai
- Validation: Zod
- Error Tracking: Sentry
- Node.js (v20+ recommended)
- MPM package manager (or npm/yarn/pnpm)
- SQLite (default) or PostgreSQL database
-
Clone the repository
git clone https://github.com/BhushanLagare7/nodebase.git cd nodebase -
Install dependencies
npm install
-
Environment Setup Copy the example environment file and configure your secrets:
cp .env.example .env
Update
.envwith your database URL, authentication secrets, and API keys. -
Database Setup Push the schema to your database:
npx prisma db push
This project uses mprocs to run multiple development services (Next.js, Inngest, ngrok) simultaneously.
npm run dev:all- App: http://localhost:3000
- Inngest Dashboard: http://localhost:8288
We welcome contributions! Please see our CONTRIBUTING.md for details on how to submit pull requests, report issues, and suggest improvements.
This project is licensed under the MIT License - see the LICENSE file for details.