An open API service indexing awesome lists of open source software.

https://github.com/lifeisbeautifu1/modern-react-app

A modern React app (early 2025 edition)
https://github.com/lifeisbeautifu1/modern-react-app

babel browserslist cicd codecoverage eslint netlify-deployment playwright postcss prettier react react-router react-starter stylelint tailwindcss typescript vite vitest

Last synced: about 2 months ago
JSON representation

A modern React app (early 2025 edition)

Awesome Lists containing this project

README

          

[![Netlify Status](https://api.netlify.com/api/v1/badges/87b62e2d-fcc2-4a84-b570-ca63bffe66ee/deploy-status)](https://app.netlify.com/sites/modern-react-demo/deploys)
[![Build & Test](https://github.com/lifeisbeautifu1/modern-react-app/workflows/CI/badge.svg)](https://github.com/lifeisbeautifu1/modern-react-app/actions/workflows/ci.yml)
[![Playwright tests](https://github.com/lifeisbeautifu1/modern-react-app/workflows/Playwright%20Tests/badge.svg)](https://github.com/lifeisbeautifu1/modern-react-app/actions/workflows/playwright.yml)
[![codecov](https://codecov.io/github/lifeisbeautifu1/modern-react-app/graph/badge.svg?token=12ZEPZOBZL)](https://codecov.io/github/lifeisbeautifu1/modern-react-app)
[![Made With Love](https://img.shields.io/badge/Made%20With-Love-red.svg)](https://github.com/lifeisbeautifu1)

# A modern react app (January 2025 edition)

This is a public template to start up a preconfigured React app for best DX.

The main features of this template:

- Editor config - for human-readable line length, consistent space indentations and end of line rules.
- List of VS Code recommended extensions to enhance web developer experience.
- `Husky` git hooks manager that enables running scripts at various points in the Git workflow (e.g., pre-commit).
- `Lint-staged` runs linters on staged files only, ensuring code quality and formatting before commits.
- `Stylelint` helps maintain consistent and error-free CSS code by enforcing coding standards and catching syntax errors.
- `Eslint` to enforce consistent coding styles and catch potential errors in your JavaScript code.
- `TypeScript` enhances code quality and maintainability in web development by providing static typing and advanced tooling features.
- `PostCSS` allows you to transform CSS with plugins, enabling features like autoprefixing, nesting, and custom syntax, enhancing your workflow and code quality.
- `Tailwind CSS` utility-first, flexible CSS framework for rapid custom styling and responsive design, promoting a component-based approach.
- `Browserslist` allows you to specify target browser versions for your project, ensuring compatibility and optimized performance across different environments. (Integrated with eslint, stylelint and babel)
- `Babel` for transpilation to ensure compatibility with older browsers and to leverage modern JavaScript features through plugins.
- `Vite` for fast, lightweight, modern build tool with instant HMR and native ES module support.
- `Vitest` testing framework optimized for Vite projects, supporting unit and integration testing with instant feedback.
- `React Testing Library` user centric, lightweight testing utility for React applications, encouraging best practices by focusing on component behavior rather than implementation details.
- `Playwright` cross-browser automation tool for end-to-end testing, enabling fast and reliable testing of web applications across multiple platforms.
- `GitHub Actions` CI/CD automation tool for building, testing, and deploying code directly from GitHub repositories, enabling seamless workflows.
- `Lighthouse` automated tool for performance, accessibility, and SEO auditing of web pages, providing insights for optimization.
- `PWA (Progressive Web App)` web application that uses service workers for offline capabilities, background syncing, and improved performance, delivering a native app-like experience.