A Next.JS powered Typescript starter with styled components, styled-system, framer motion, jest and cypress
The Next Starter is a template designed to bootstrap your Next.js application. It comes pre-configured with various features and tools to enhance your development experience. This includes support for importing image files and fonts within webpack, NProgress loading bar functionality, styled-components for styling, styled-system for building reusable UI blocks, framer motion for smooth page transitions, and testing support with Jest and Cypress.
next.config.js file that enables support for importing images files and fonts within webpack. It also includes NProgress support, which displays a small loading bar at the top of the page during loading.styles folder to organize styled-components files and also includes themes-related content. This allows for consistent styling and theming throughout your application.base.ts) where you can define breakpoints, spacings, and typography.colors.ts file.@testing-library/react for running tests. It is pre-configured with ts-jest to check your types in tests. jest-styled-components is also used to provide deterministic classNames within your styled components when testing..env* files in the Cypress.env helper. It also supports per-environment configuration files.To install the Next Starter, follow these steps:
Start by cloning the repository:
git clone [repository_url]
Install the required dependencies:
npm install
Start the development server:
npm run dev
Open your browser and navigate to http://localhost:3000 to view the application.
The Next Starter is a feature-rich template for bootstrapping Next.js applications. It provides a pre-configured setup with support for importing images and fonts, NProgress loading bar, styled-components for styling, styled-system for building reusable UI blocks, framer motion for smooth transitions, and Jest and Cypress for testing. With TypeScript support and an organized file structure, it offers a solid foundation for building robust and high-quality applications.