1.0.0 • Published 9 months ago

react-ts-jest v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

React-TypeScript Testing Library and Tailwind CSS Template

Unlike Create-React-App, Vite doesnt come by default with Testing Library, Jest setup with it . So, this repository can help you out in quickly getting started.

Features

  • React: A popular JavaScript library for building user interfaces.
  • Typescript: A typed superset of JavaScript that helps catch errors early and improve code quality.
  • Jest: A testing utility for writing unit and integration tests with a user-centric approach.
  • React-Testing-Library: A testing library for React for writing unit and integration tests with a user-centric approach.
  • Tailwind: A utility-first CSS framework for rapidly building custom designs.

Getting Started

Follow these steps to set up a new project based on this template:

  1. Click the "Use this template" button on this repository to create a new repository using this template.

  2. Clone your newly created repository to your local machine:

    git clone https://github.com/amitjimiwal/React-ts-jest-template.git
  3. Navigate to the project directory:

    cd your-project-name
  4. Install dependencies:

    npm install
  5. Start the development server:

    npm run dev
  6. Open your browser and visit http://localhost:5173 to see your app in action.

Contributing

Contributions to improve this template are welcome! If you find any issues or have suggestions for enhancements, feel free to open an issue or submit a pull request.

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:

    git commit -m "Add your changes"
  4. Push your changes to your forked repository:

    git push origin feature/your-feature-name
  5. Open a pull request against the main branch of this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.