Vitamin

screenshot of Vitamin
react
vite
tailwind

Opinionated Vite starter template.

Overview

The Vitamincodecov Test workflow is a comprehensive starter template for building web applications with Vite, React, and TypeScript. It includes various features and tools to enhance development productivity and maintain code quality. The template leverages popular libraries such as Tailwind CSS, ESLint, stylelint, Prettier, Vitest, Testing Library, and Cypress to enable efficient testing and styling practices. Additionally, it utilizes GitHub Actions for automatic dependency updates, CodeQL Analysis, running tests, and code coverage with Codecov. The template also provides a seamless deployment process to Vercel.com with pre-configured SPA fallback.

Features

  • Vite with React, TypeScript and absolute imports: Utilize Vite as the build tool with React and TypeScript for efficient development and type safety. Absolute imports enable easier module imports.
  • Tailwind CSS v3 with basic reset and Prettier plugin: Apply Tailwind CSS for styling, including a basic reset for form styles. The Prettier plugin automatically sorts classes for a clean and organized codebase.
  • ESLint, stylelint, and Prettier integration: Enhance code quality with ESLint for linting JavaScript and TypeScript code, stylelint for enforcing consistent style rules, and Prettier for automatic code formatting. Integration with VSCode, Husky, and lint-staged ensures code is checked before committing.
  • PWA with 17/17 Lighthouse score: Create a Progressive Web App (PWA) with a perfect 17/17 Lighthouse score, providing a smooth and engaging user experience.
  • Unit and integration testing with Vitest and Testing Library: Write comprehensive unit and integration tests using Vitest and Testing Library to ensure the functionality and reliability of your application.
  • E2E testing with Cypress: Perform end-to-end testing using Cypress, a fast and reliable testing framework, to simulate user interactions and catch potential bugs.
  • GitHub Actions integration: Automate essential tasks such as dependency updates, CodeQL Analysis, running tests, and code coverage with GitHub Actions, ensuring consistent quality and reliability of the project.
  • Seamless deployment to Vercel.com: Easily deploy your application to Vercel.com with pre-configured SPA fallback, allowing smooth transitions and efficient serving of your web application.
react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.