Welcome to the Next.js Enterprise Boilerplate, an open-source template for enterprise projects! It's loaded with features that'll help you build a high-performance, maintainable, and enjoyable app. We've done all the heavy lifting for you, so sit back, relax, and get ready to conquer the world with your incredible app! π
With this template, you get all the awesomeness you need:
- ποΈ Next.js - Fast by default, with config optimized for performance
- π Tailwind CSS - A utility-first CSS framework for rapid UI development
- β¨ ESlint and Prettier - For clean, consistent, and error-free code
- π οΈ Extremely strict TypeScript - With
ts-reset
library for ultimate type safety - π Bundle analyzer plugin - Keep an eye on your bundle size
- π§ͺ Jest and React Testing Library - For rock-solid unit and integration tests
- π Cypress - Write end-to-end tests like a pro
- π Storybook - Create, test, and showcase your components
- π¬οΈ Smoke Testing and Acceptance Tests - For confidence in your deployments
- π Conventional commits git hook - Keep your commit history neat and tidy
- π Observability - Open Telemetry integration for seamless monitoring
- π― Absolute imports - No more spaghetti imports
- βοΈ Health checks - Kubernetes-compatible for robust deployments
- π Tailwind Variantes - Create a consistent, reusable, and atomic design system
- π€ Renovate BOT - Auto-updating dependencies, so you can focus on coding
- π©Ή Patch-package - Fix external dependencies without losing your mind
- π Components coupling and cohesion graph - A tool for managing component relationships
- π GitHub Actions - Pre-configured actions for smooth workflows, including Bundle Size and performance stats
- π― Perfect Lighthouse score - Because performance matters
- π’ Semantic Release - for automatic changelog
- π» T3 Env - Manage your environment variables with ease
To get started with this boilerplate, follow these steps:
- Fork & clone repository:
## Don't forget to β star and fork it first :)
git clone https://github.com/<your_username)/next-enterprise.git
- Install the dependencies:
yarn install --frozen-lockfile
- Run the development server:
yarn dev
-
Open http://localhost:3000 with your browser to see the result.
-
This project uses a git hook to enforce conventional commits. To install the git hook, run the following command in the root directory of the project:
brew install pre-commit
pre-commit install -t commit-msg