Features · Deployment · Getting started · Scripts overview · Contribution · Support
- 🚀 Next.js 15 (App router)
- ⚛️ React 19
- 📘 Typescript
- 🎨 Tailwind CSS 4 - Class sorting, merging and linting
- 🛠️ Shadcn/ui - Customizable UI components
- 💵 Stripe - Payment handler
- 🔒 Next-auth - Easy authentication library for Next.js (GitHub provider)
- 🛡️ Drizzle - ORM for node.js
- 🔍 Zod - Schema validation library
- 🧪 Jest & React Testing Library - Configured for unit testing
- 🎭 Playwright - Configured for e2e testing
- 📈 Absolute Import & Path Alias - Import components using
@/prefix - 💅 Prettier - Code formatter
- 🧹 Eslint - Code linting tool
- 🐶 Husky & Lint Staged - Run scripts on your staged files before they are committed
- 🔹 Icons - From Lucide
- 🌑 Dark mode - With next-themes
- 📝 Commitlint - Lint your git commits
- 🤖 Github actions - Lint your code on PR
- ⚙️ T3-env - Manage your environment variables
- 🗺️ Sitemap & robots.txt
- 💯 Perfect Lighthouse score
- 💾 Neon database
- 🌐 I18n with next-intl
Easily deploy your Next.js app with Vercel by clicking the button below:
-
Using this repository as template
-
Using
create-next-appnpx create-next-app -e https://github.com/Skolaczk/next-starter my-project-name
-
Using
git clonegit clone https://github.com/Skolaczk/next-starter my-project-name
npm installCreate .env file and set env variables from .env.example file.
It is required if you want husky to work
npm run prepareYou can start the server using this command:
npm run devand open http://localhost:3000/ to see this app.
.
├── .github # GitHub folder
├── .husky # Husky configuration
├── prisma # Prisma schema and migrations
├── public # Public assets folder
└── src
├── __tests__ # Unit and e2e tests
├── actions # Server actions
├── app # Next JS App (App Router)
├── components # React components
├── lib # Functions and utilities
├── styles # Styles folder
└── env.mjs # Env variables config fileThe following scripts are available in the package.json:
dev: Run development serverbuild: Build the appstart: Run production serverpreview: Runbuildandstartcommands togetherlint: Lint the code using Eslintlint:fix: Fix linting errorsformat:check: Checks the code for proper formattingformat:write: Fix formatting issuestypecheck: Type-check TypeScript without emitting filestest: Run unit teststest:watch: Run unit tests in watch modee2e: Run end-to-end testse2e:ui: Run end-to-end tests with UIpostbuild: Generate sitemapprepare: Install Husky for managing Git hooks
To contribute, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes, and commit them.
- Push your changes to the forked repository.
- Create a pull request.
If you liked the project, I will appreciate if you leave a star. 🌟😊
Made by Michał Skolak
