More Premium Hugo Themes Premium Nextjs Themes

Nexthasurajwt

This is a NextJS starter template using api routes with a database + permissions.

Nexthasurajwt

This is a NextJS starter template using api routes with a database + permissions.

Author Avatar Theme by ntarasiuk
Github Stars Github Stars: 16
Last Commit Last Commit: Apr 27, 2021 -
First Commit Created: Jun 19, 2023 -
Nexthasurajwt screenshot

Overview

The integration of Hasura, NextJS, Apollo, and JWT creates a powerful starter template for building a modern React application. This combination not only simplifies the backend setup with Hasura’s instant GraphQL API and real-time capabilities but also enhances the frontend experience with NextJS’s performance optimizations. By leveraging JWT for authentication, this stack ensures secure and efficient data access, making it an attractive choice for developers looking to streamline their processes.

This starter template is well-structured and addresses critical features such as authentication and permissions management. The inclusion of Google social login supports easy user onboarding, while planned features like email invitations and password resets indicate a focus on user experience and functionality. Whether you’re a seasoned developer or new to web development, this template offers a comprehensive and organized approach to building applications with solid security practices.

Features

  • Hasura Database Integration: Instantly connect to a Hasura database with Apollo integration for seamless data queries and mutations.
  • JWT Authentication: Implement authentication based on best practices, utilizing JWT in memory and refresh tokens to maintain secure sessions.
  • Role-based Permissions: Set up organization and member authentication in Hasura to control access to resources efficiently.
  • Google Social Login: Simplify user sign-up and login processes with built-in support for Google OAuth integration.
  • Environment Configuration: Easy setup with a pre-configured .env file, allowing quick environment variable adjustments for local development.
  • Debugging Support: VSCode settings are included to streamline development workflows; start debugging with a simple press of F5.
  • Authenticated Routes: Protect your application’s routes using the withAuthSync Higher-Order Component (HOC) for secure navigation.
  • Extendable Architecture: Future updates planned such as email invitations, password resets, and design framework transitions offer potential for growth and customization.