auth-ts-next-boilerplate icon indicating copy to clipboard operation
auth-ts-next-boilerplate copied to clipboard

A Next js boilerplate for authentication

Next js Auth boilerplate

Features

  • Eslint/Prettier configured
  • Absolute imports
  • Organized file structure
  • Easy to customize
  • Fully typed
  • Uses Graphql-codegen to generate hooks for mutations/queries that are ready to be imported
  • Comes with some UI components and a theme to customize
  • Local fonts
  • Supports CSR and SSR

Prerequisites

Locally

  1. Run yarn
  2. Start your API
  3. Run yarn gen
  4. Run yarn dev
  5. Open localhost:3030

Deploying to Vercel

TBD

Built with

  • TypeScript
  • GraphQL
  • Apollo client
  • GraphQL-codegen
  • Styled-components
  • And these useful of JavaScript libraries package.json

License

This project is licensed under the MIT License - see the LICENSE.md file for more details

Contributors