@sirdanoosh/boilerplate
v0.1.2
Published
Frontend project initializer for Next.js App Router applications.
Maintainers
Readme
@sirdanoosh/boilerplate
Create a new Next.js App Router frontend with a clean, bilingual starter that already follows the conventions in this repository.
Install
npm create @sirdanoosh/boilerplateor:
npx @sirdanoosh/boilerplate initialWhat You Get
- Next.js App Router starter
- TypeScript
- Tailwind CSS v4
- shadcn/ui conventions
- lucide-react icons
- next-intl bilingual LTR/RTL setup
- axios-based API structure under
src/api - zustand for local and session state
- zod validation
- optional Playwright tests
- optional React Query, PWA, and bundle analyzer setup
Generated Structure
src/appfor routes and framework filessrc/viewsfor composed screenssrc/api/services/<domain>for domain API codesrc/providersfor app-level wrapperssrc/i18nfor locale config and messagessrc/lib/authfor CIAM helpers
Included Commands
The generated app includes:
pnpm dev
pnpm lint
pnpm type-check
pnpm test
pnpm react-doctor
pnpm react-doctor:reportNotes
- The initializer asks for the project name, target directory, optional features, and environment values.
- The template is designed to be a practical starting point, not a scaffold full of throwaway starter text.
- The boilerplate package is published separately from the frontend scanner.
