8000 GitHub - imkuldeepahlawat/vitkd
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

imkuldeepahlawat/vitkd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Vitkd

A lightning-fast React starter template for modern web applications

Vitkd - Speed up your development workflow

🌐 Live Demo

✨ Features

  • ⚑️ React 19 - Latest React features and improvements
  • 🦾 TypeScript - Type-safe development
  • 🎨 Tailwind CSS - Utility-first CSS framework
  • πŸ‘‘ Atomic Design - Scalable component architecture
  • πŸ—‚ Relative imports - Clean import paths
  • πŸ˜ƒ Hero icons - Beautiful hand-crafted SVG icons
  • ☁️ Vercel deployment - Zero-config hosting

πŸ› οΈ Development Tools

  • πŸ“ ESLint - Code linting for React/Hooks & TypeScript
  • πŸ’… Prettier - Code formatting
  • 🎯 TypeScript - Type safety
  • πŸš€ Vercel - Zero-config deployment

πŸ“¦ Dependencies

Core Dependencies

  • React 19.0.0
  • React DOM 19.0.0
  • Framer Motion 12.10.0
  • Hero Icons 2.1.5

Development Dependencies

  • TypeScript 5.6.3
  • Vite 5.4.10
  • Tailwind CSS 3.4.14
  • ESLint 9.13.0
  • Prettier 3.3.3
  • Vitest 3.1.3
  • Testing Library 14.2.1

πŸ—οΈ Project Structure

src/
β”œβ”€β”€ app/           # Application routes and pages
β”œβ”€β”€ components/    # React components following Atomic Design
β”‚   β”œβ”€β”€ atoms/     # Basic building blocks
β”‚   β”œβ”€β”€ molecules/ # Combinations of atoms
β”‚   └── organisms/ # Complex UI components
β”œβ”€β”€ hooks/         # Custom React hooks
└── test/          # Test setup and utilities

πŸ”§ Development Workflow

Prerequisites

  • Node.js >= 18
  • Yarn >= 1.22.5

Development Server

yarn dev

The development server runs on http://localhost:3000

Code Quality

# Type checking
yarn typecheck

# Linting
yarn lint

# Formatting
yarn format

Testing

# Run tests
yarn test

# Run tests with coverage
yarn test:coverage

πŸ—οΈ Build and Deployment

Production Build

yarn build

The build output will be in the dist directory.

Environment Variables

Create a .env file in the root directory:

VITE_API_URL=your_api_url

🀝 Contributing

Commit Message Format

This project follows Conventional Commits:

<type>(<scope>): <description>

[optional body]

[optional footer]

Code Style

  • Follow TypeScript strict mode
  • Use functional components with TypeScript
  • Follow Atomic Design principles
  • Write tests for new features
  • Maintain 80%+ test coverage

Pull Request Process

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

🎯 Code Quality Tools

ESLint Configuration

  • React Hooks rules
  • TypeScript strict mode
  • React Refresh rules
  • Custom rules for code quality

Prettier Configuration

  • Single quotes
  • Trailing commas
  • 2 spaces indentation
  • 80 characters line length

TypeScript Configuration

  • Strict mode enabled
  • Path aliases configured
  • Modern JavaScript features
  • React JSX support

🌐 Browser Support

The project supports modern browsers as defined in the browserslist configuration:

> 0.2%
not dead
not IE 11

πŸš€ Getting Started

Using GitHub Template

Create a repo from this template on GitHub

Manual Setup

npx degit imkuldeepahlawat/vitkd my-vitkd-app
cd my-vitkd-app
yarn # If you don't have yarn installed, run: npm install -g yarn

πŸ“‹ Setup Checklist

  • Update name and author in package.json
  • Update author name in LICENSE
  • Update title in index.html
  • Replace favicon in public
  • Update manifest in public
  • Customize this README

πŸ’» Development

Start the development server:

yarn dev

Visit http://127.0.0.1:3000/

πŸ—οΈ Build

Create a production build:

yarn build

The build output will be in the dist directory.

πŸš€ Deployment

  1. Go to Vercel
  2. Import your repository
  3. Follow the prompts
  4. Your app will be live in minutes

⚠️ Troubleshooting

Husky Pre-commit Hooks

If pre-commit hooks aren't working:

husky install

This command should run automatically after installing dependencies.

πŸ€” Why Vitkd?

This template was created to streamline the React development process. It includes:

  • Modern tooling and best practices
  • Optimized development workflow
  • Production-ready configuration
  • Clean, maintainable code structure

Feel free to customize and maintain your own version!

πŸ™ Acknowledgments

This project is inspired by and built upon the excellent work of Josep Vidal, particularly his vital template. I've extended and customized it to create Vitkd, adding our own improvements while maintaining the core principles of modern React development.

πŸ“„ License

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

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0