This is a Next.js boilerplate to create SSR-d apps without breaking a sweat. 🥵
- Next.js with TypeScript integration: React web framework
- Jest + React Testing Library: unit and React components testing
- Prettier + eslint: coding in style
- Husky + commitlint: auto-linting commits with Husky for meeting the conventional commit format
- css-modules: styling your app.
- Clone this repo as a template
See the GitHub Docs for more info on using a template repo.
- Install all dependencies:
$ npm install
# or
$ yarn
- Initialize Husky
$ npm run prepare
# or
$ yarn husky install
- Run the deployment server
$ npm run dev
# or
$ yarn dev
- Your app is served at http://localhost:3000/
- Nov-22-2023: upgrade to Next.js 14.0.2, React 18.2.0, TypeScript 4.8.4, remove styled-components in favour of css modules
- Jun-22-2023: first version, Next.js 12, React 18.1.0, TypeScript 4.5.5