antoniolofiego / Batteries-Included-Next.js

A starting boilerplate for a TS Next.js project with batteries included. Tailwind CSS for styling, Jest and React Testing Library working with path aliases and node-mock-http for API route testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Batteries Included Next.js

This is a Next.js project that includes Tailwind CSS, TypeScript and Jest with @testing-library with working TS path aliases.

Getting Started

You can run a development environment simply by running:

npm run dev
# or
yarn dev

For testing, run:

npm run test
# or
yarn test

For an optimized production build, run

npm run build
# or
yarn build

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file and Tailwind CSS will auto-generate classes as you add them.

About

A starting boilerplate for a TS Next.js project with batteries included. Tailwind CSS for styling, Jest and React Testing Library working with path aliases and node-mock-http for API route testing.

License:MIT License


Languages

Language:TypeScript 69.0%Language:JavaScript 29.4%Language:CSS 1.6%