Next Advanced Apollo Starter screenshot

Next Advanced Apollo Starter

Author Avatar Theme by Nikitowsky
Updated: 21 Aug 2023
274 Stars

Advanced, but minimalistic Next.js and Apollo starter

Categories

Overview:

This product is a Next.js template that includes various features and updates to enhance the developer experience. It supports both Client-Side Rendering and Server-Side Rendering and includes a TypeScript environment. It also includes GraphQL Apollo client with built-in cookie-based JWT token authentication. The template comes with Normalize.css, and there is no need for a custom server. It also provides a testing environment with Jest and @testing-library/react, as well as a configured GraphQL Code Generator. The code is formatted using Prettier, and there is a debug configuration for VSCode. Additionally, there is a Docker configuration to serve a production-ready build with Nginx.

Features:

  • Latest Next.js version
  • Latest package updates
  • GraphQL Apollo client with built-in cookie-based JWT token authentication
  • Works both via Client-Side Rendering and Server-Side Rendering
  • TypeScript environment
  • Normalize.css included
  • No custom server
  • Developer experience features like testing environment, code formatting, debug configuration, and Docker configuration

Installation:

To install the Next.js template and get started, follow these steps:

  1. Make sure you have Node.js and npm installed.
  2. Clone the project repository using the git command: git clone [repository URL].
  3. Navigate to the project directory: cd [project directory].
  4. Install the project dependencies by running the command: npm install.
  5. Configure the necessary environment variables for the JWT token authentication.
  6. Start the development server by running the command: npm run dev.

Summary:

This Next.js template provides a comprehensive development environment with various features. It supports both Client-Side Rendering and Server-Side Rendering, and includes GraphQL Apollo client with built-in cookie-based JWT token authentication. The template also includes a TypeScript environment, Normalize.css, and developer experience features like testing environment, code formatting, debug configuration, and Docker configuration. With its easy installation process and up-to-date features, this template is a valuable tool for Next.js developers.