Nextjs Starter screenshot

Nextjs Starter

Author Avatar Theme by Accelist
Updated: 12 Oct 2023
32 Stars

Next.js project starter template for PT. Accelist Lentera Indonesia

Categories

Overview

The Accelist Next.js Starter is a project starter template developed by PT. Accelist Lentera Indonesia. It is built on the Next.js framework and includes several features to enhance development efficiency and improve user experience. This template is designed to follow the Twelve-Factor App principles and includes various integrations such as OpenID Connect providers and API Gateway for proxying HTTP requests. It also comes with Enterprise-level React components by Ant Design and thousands of utility classes powered by Tailwind CSS.

Features

  • Pure Next.js: Zero framework customization
  • TypeScript + ESLint configured: type-check and lint as you type!
  • Visual Studio Code breakpoint and debugging configured
  • Responsive dashboard with sidebar template
  • Page Component Type: Supports variable layout
  • The Twelve-Factor App principled: Multi-Stage Docker build
  • AppSettings API: Supports Runtime Environment Variables for Kubernetes deployment
  • Plug-and-play OpenID Connect integrations to standard providers (Such as Keycloak, IdentityServer, OpenIddict, FusionAuth, etc.)
  • API Gateway for proxying HTTP requests to back-end web API bypassing CORS
  • Automatic progress bar during page navigation
  • Convenient Fetch API wrapper and SWR Fetcher implementation
  • Enabled container builds on GitHub Action
  • Batteries included: Enterprise-level React components by Ant Design
  • Thousands of utility classes powered by Tailwind CSS with className IntelliSense in React components
  • Simple atomic React state management using Jotai
  • Thousands of icons by FontAwesome 6
  • TypeScript object schema validation with Zod
  • Simple form validation with React Hook Form, designed to be integrated with Ant Design and Zod
  • Provide sane defaults for the most common security headers

Installation

To get started with the Accelist Next.js Starter, follow these steps:

  1. Download the template as a Zip file.
  2. Unzip the file and rename the folder to your actual project name.
  3. Open the project root folder in your preferred code editor.
  4. Run npm ci in the project root folder to install the dependencies.
  5. Run npm run dev to start the development server.
  6. The web app should be accessible at http://localhost:3000.

To enhance the development experience, you can install the official ESLint extension by Microsoft in Visual Studio Code to display ESLint errors. Additionally, you can install the official Tailwind CSS IntelliSense extension in Visual Studio Code to enable Tailwind CSS IntelliSense.

Summary

The Accelist Next.js Starter is a powerful project starter template for Next.js development. It provides various features and integrations to streamline the development process and improve the overall user experience. With its support for TypeScript, ESLint, themed components, utility classes, and validation libraries, developers can build robust and well-structured applications efficiently. By following the Twelve-Factor App principles and providing default security headers, this template promotes best practices and ensures a secure application.