https://github.com/rifandani/frontend-template-rest
React with Next.js + Typescript + Jest + TailwindCSS + Axios + SWR (REST api)
https://github.com/rifandani/frontend-template-rest
axios eslint jest nextjs reactjs rest-api swr tailwindcss typescript
Last synced: 2 months ago
JSON representation
React with Next.js + Typescript + Jest + TailwindCSS + Axios + SWR (REST api)
- Host: GitHub
- URL: https://github.com/rifandani/frontend-template-rest
- Owner: rifandani
- Created: 2021-02-01T13:51:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-15T15:32:43.000Z (over 5 years ago)
- Last Synced: 2025-01-21T15:49:12.386Z (over 1 year ago)
- Topics: axios, eslint, jest, nextjs, reactjs, rest-api, swr, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://jsonplaceholder.typicode.com/
- Size: 451 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)
- 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)
## Deploy your own
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
[](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-typescript-eslint-jest&project-name=with-typescript-eslint-jest&repository-name=with-typescript-eslint-jest)
## 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 with-typescript-eslint-jest with-typescript-eslint-jest-app
# or
yarn create next-app --example with-typescript-eslint-jest with-typescript-eslint-jest-app
```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).