🤝 Contributing Guide

Thanks for your interest in contributing to Music Platform!

🚀 Getting Started

  1. Fork the repo and clone it:
    git clone https://github.com/Lordpluha/spotify-clone.git
    
  2. Install dependencies:
    pnpm install
    
  3. Run the app:
    pnpm dev
    

✅ Code Standards

  • TypeScript everywhere
  • Follow Feature-Sliced Design (FSD) structure
  • Validate all .env changes via .env.schema.ts
  • Write unit & integration tests (Vitest)

💅 Pre-commit hooks

We use Husky + Lint-Staged. Ensure:
pnpm prepare

📦 Useful Scripts

  • pnpm docs — build documentation
  • pnpm test — run all tests
  • pnpm lint — run linters
  • pnpm commit — make a conventional commit from the monorepo root
Happy coding! 🎧