Loading repository data…
Loading repository data…
pamelasantoss / repository
A minimal starter boilerplate for building TypeScript applications with Next.js and Tailwind CSS.
This repository is a minimal starter boilerplate for building TypeScript applications with Next.js and Tailwind CSS. It provides a small, well-configured base that includes linting, formatting and testing tooling so you can quickly scaffold pages and components.
What this boilerplate provides out of the box:
src/styles/globals.csssrc/components/Header and a sample page at src/pages/index.tsxeslint-config-nextprettier-plugin-tailwindcssgit clone https://github.com/pamelasantoss/boilerplate-ts-next-tailwind-empty.git
cd boilerplate-ts-next-tailwind-empty
npm install
Environment file (optional):
.env file at the project root.Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
npm run build
npm run start
src/
pages/ — Next.js pages (example: src/pages/index.tsx)components/ — Reusable UI components (example: src/components/Header)styles/ — Global styles and Tailwind entry (globals.css)next.config.ts — Next.js configurationtailwind.config.ts — Tailwind configuration and content pathsjest.config.ts, jest.setup.ts — Jest configuration and test setupeslint.config.mjs — ESLint configurationpackage.json — npm scripts for dev, build, lint, format and testThis boilerplate is intended to help developers learn and practice:
next/image, and performance best practices)Contributions are welcome! Feel free to open issues or submit pull requests.
This project is under the MIT license. See the LICENSE file for details.
Made with ❤️ by Pamela Santos