Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/croutonn/next-template

next.js template
https://github.com/croutonn/next-template

nextjs-boilerplate nextjs-example nextjs-starter nextjs-template nextjs-typescript

Last synced: 6 days ago
JSON representation

next.js template

Awesome Lists containing this project

README

        

# NextJS Typescript Boilerplate

Bootstrap a developer-friendly NextJS app configured with:

- [Typescript](https://www.typescriptlang.org/)
- Linting with [ESLint](https://eslint.org/) and [stylelint](https://stylelint.io/)
- Formatting with [Prettier](https://prettier.io/)
- Linting, typechecking and formatting on by default using [`husky`](https://github.com/typicode/husky) for commit hooks
- Testing with [Jest](https://jestjs.io/) and [`react-testing-library`](https://testing-library.com/docs/react-testing-library/intro)
- [Storybook](https://storybook.js.org/)

## Deploy your own

Deploy the example using [Vercel](https://vercel.com):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/croutonn/next-template/tree/main)

## How to use

Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:

```bash
npx create-next-app --example https://github.com/croutonn/next-template with-typescript-eslint-jest-app
# or
yarn create next-app --example https://github.com/croutonn/next-template with-typescript-eslint-jest-app
```

Deploy it to the cloud with [Vercel](https://vercel.com/import) ([Documentation](https://nextjs.org/docs/deployment)).