Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Scalable foundation with NextJS for developer so you can focus on performance and best practices.
Next JS Boilerplate is a starter repository for building web applications with Next.js, bundling pre-configured tooling such as Styled Components, Jest, Storybook, and ESLint so developers can skip environment setup and focus on feature work.
Next JS Boilerplate is a pre-configured starter project that combines Next.js with a stack of front-end tooling. It is built and maintained by Faiz Azmi Rekatama (faizrktm) and published on GitHub as a public repository. The boilerplate takes a fresh Next.js project and adds working configurations for styled-components, Jest with React Testing Library, Storybook, ESLint, and an internationalization system, so developers can begin coding immediately. The repository includes scripts for installing dependencies with yarn, running a development server, building for production, and running tests. It also sets up a src directory as the base path for imports, and its description calls it a scalable foundation for performance and best practices.
yarn test and yarn test --watch commands for unit and integration tests.yarn install and yarn dev to immediately start building pages with a configured toolchain.yarn test to execute the Jest suite, or use --watch for TDD workflows.The boilerplate relies on package scripts defined in package.json. After cloning, yarn install pulls dependencies. yarn dev launches the development server at localhost:3000. yarn build && yarn start runs in production mode. Tests are executed with yarn test or yarn test --watch for continuous testing.
For teams that prefer a minimal start, create-next-app is the official Next.js scaffolding tool that generates a bare project without the pre-configured testing and Storybook setup included here. It is maintained by the Next.js team and offers a simpler starting point for basic apps.
Clone the repository and run yarn install to install dependencies. The project uses Yarn as the package manager, as shown in the setup commands.
Jest and React Testing Library are pre-configured. Run yarn test to execute tests, or yarn test --watch to run in watch mode.
Yes, remove the Candi-UI dependency from package.json and run yarn install again. The boilerplate uses styled-components for styling, so you can replace or delete component library code.
Yes, it includes an internationalization system created by the author. The specifics of usage are not detailed in the repository, but the feature is listed as pre-installed.
Faiz Azmi Rekatama (faizrktm) is the author, and the repo is hosted on GitHub under the faizrktm account.
