More Premium Hugo Themes Premium Nextjs Themes

Next Boilerplate

Next js, Styled-Components, Storybook, Github Actions, Jest, testing-library, Eslint, Prettier boilerplate/template

Next Boilerplate

Next js, Styled-Components, Storybook, Github Actions, Jest, testing-library, Eslint, Prettier boilerplate/template

Author Avatar Theme by kaypacha
Github Stars Github Stars: 9
Last Commit Last Commit: Feb 7, 2024 -
First Commit Created: Jun 19, 2023 -
Next Boilerplate screenshot

Overview

NextJs SWC Boilerplate is a project template that provides a solid and comfortable starting point for web development projects. It includes various tools and technologies such as Next.js, Styled-Components, SWC, Jest for testing, Storybook for UI development, Github Actions for automation, Eslint for code quality, and Prettier for code formatting.

Features

  • Next.js framework for server-side rendering and building React applications.
  • Styled-Components for styling components using CSS-in-JS approach.
  • SWC, a faster alternative to Babel, for transpiling JavaScript code.
  • Jest and testing-library for writing and running tests.
  • Storybook for developing and documenting UI components in isolation.
  • Github Actions for automating various development tasks.
  • Eslint for static analysis and enforcing code style.
  • Prettier for automatic code formatting.

Installation

To use the NextJs SWC Boilerplate, follow these steps:

  1. Use as a template (recommended) or download, pull, or fork the repository.
  2. Install the dependencies by running npm install or yarn install.
  3. Configure your Github account in the CODEOWNERS file inside the .github folder.
  4. Optionally, modify or remove the configurations in the .github/workflows and ./scripts folders.
  5. For development, run npm run dev.
  6. For storybook, run npm run storybook.
  7. For running tests, run npm run test.
  8. For customizing Eslint rules, modify, delete, or add your rules in the package.json file.
  9. For other utility commands for development or production, check the package.json file.

Summary

NextJs SWC Boilerplate is a project template that provides developers with a solid starting point for building web applications. It includes essential tools and technologies such as Next.js, Styled-Components, SWC, Jest, Storybook, Github Actions, Eslint, and Prettier. By using this boilerplate, developers can save time and effort in setting up their projects and focus more on building features and functionality.