Skip to content

Next 13 template application using Jest and React Testing Library. Jest is set up with Rust compiler

Notifications You must be signed in to change notification settings

kevinCubas/nextestboilerplate

Repository files navigation

Next Test Boilerplate

Boilerplate project for testing Next 13 applications using Jest and React Testing Library. It is set up using Jest with Rust Compiler for efficient testing.
This includes Next.js' built-in support for Global CSS, CSS Modules and TypeScript.

Technologies

This Boilerplate project utilizes the following technologies:

Usage

Click on the "Use this template" button, and create a new repository.
Then follow the steps bellow to clone the project you just created into your local machine. Just change the project url

Manual installation

To install and set up the Next Testing Boilerplate, follow these steps:

  1. Clone the repository:

This is the http url version - click on the "Code" green button to clone using other methods.

git clone https://github.com/kevinCubas/nextestboilerplate.git
  1. Change into the project directory:
cd nextestboilerplate
  1. Install the dependencies:
npm install

Avaliable scripts

  • Start the development server:
npm run dev
  • Build the project for production:
npm run build
  • Start the production server:
npm start
  • Lint the code:
npm run lint
  • Run tests:
npm test
  • To run tests in watch mode:
npm run test:watch

Contributing

Contributions to this Boilerplate are welcome! To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Make your changes and commit them using conventional commits: type(optional scope): description
    E.g. git commit -m 'docs: correct spelling of Contributing section'
  4. Push to the branch: git push origin feature/your-feature-name
  5. Open a pull request.
    Please ensure that your code adheres to the project's coding standards.

Contributors

Kevin Cubas

About

Next 13 template application using Jest and React Testing Library. Jest is set up with Rust compiler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published