A basic TypeScript starter for NextJS and Apollo Server/Client, with sensible defaults for linting and tests.
If you use Vercel and GitHub, simply click below to instantly create a copy of the repository and set up a new deployment
https://nextjs-starter-graphql.vercel.app/
This starter features the following:
- TypeScript
- Apollo Server for GraphQL
- CSS modules
- Jest for tests
- Testing Library for component tests
- Linting set up with NextJS eslint
- Prettier for formatting
- Github Actions integration for build and test running
Install dependencies and run the development server
npm install
npm run dev
Start the NextJS local development server
Run a production build with optimizations
Serve an existing production build
Run all automated unit and component tests in the project
Run eslint to check for linting violations
Fix any automatically fixable linting violations
Find any formatting violations
Fix any formatting violations