An open API service indexing awesome lists of open source software.

https://github.com/swiichycode/nextjs-clerk-stripe-integration

A production-ready Next.js 15 template for building scalable SaaS applications, following hexagonal architecture/clean architecture principles.
https://github.com/swiichycode/nextjs-clerk-stripe-integration

clean-architecture clerk hexagonal-architecture nextjs-boilerplate nextjs-template nextjs15 shadcn stripe

Last synced: 8 months ago
JSON representation

A production-ready Next.js 15 template for building scalable SaaS applications, following hexagonal architecture/clean architecture principles.

Awesome Lists containing this project

README

          

# Next.js 15 Enterprise Starter Template (🚧 Under Construction 🚧)

A production-ready Next.js 15 template for building scalable SaaS applications, following hexagonal architecture
principles.

> ⚠️ **Note**: This project is actively under development. Core features are being implemented and documented. Feel
> free > to star and watch for updates!

## 🚀 Features

- **Framework**: Next.js 15 with App Router
- **Architecture**: Hexagonal (Ports & Adapters) for maintainable and testable code
- **Authentication**: Clerk for secure user management
- **Payments**: Stripe subscription system
- **Emails**: Resend for reliable email delivery
- **Monitoring**: Sentry for error tracking and performance monitoring
- **Testing**: Comprehensive test setup with Jest and Testing Library
- **Database**: Prisma ORM with PostgreSQL
- **Styling**: Tailwind CSS with shadcn/ui components
- **State Management**: Zustand
- **Type Safety**: TypeScript
- **Code Quality**: ESLint, Prettier, Husky
- **CI/CD**: GitHub Actions
- **Dependencies**: Automated updates with Dependabot

## 🎯 Purpose

This template aims to provide a robust foundation for building SaaS applications by:

- Implementing enterprise-grade architecture patterns
- Following best practices for testing and monitoring
- Integrating essential SaaS features (auth, payments, emails)
- Maintaining high code quality standards
- Ensuring scalability and maintainability

## 🏗️ Architecture

Built with hexagonal architecture to:

- Separate business logic from external concerns
- Make the codebase easily testable
- Allow for simple adaptation to changing requirements
- Facilitate the replacement of external services

## 📚 Documentation

Detailed documentation available in the `/docs` directory covering:

- Project structure
- Architecture decisions
- Integration guides
- Testing strategies
- Deployment procedures

## 🛠️ Getting Started

[Installation and setup instructions here]

## 🤝 Contributing

Contributions are welcome! Please read our contributing guidelines.

## 📝 License

MIT License