Development
π©βπ» Development Guide
"Contributing to Confession Collective is like writing in a group diary, but with more TypeScript and fewer doodles."
Project Structure
confession-collective/
βββ src/
β βββ components/ # Where the magic happens
β βββ hooks/ # Custom hooks (they're hooks, not boomerangs)
β βββ lib/ # Utilities (the Swiss Army knife drawer)
β βββ types/ # TypeScript types (because we're fancy)
Development Flow
Fork the repo (it's like adopting a digital pet)
Create your feature branch:
git checkout -b feature/make-something-awesome
Write amazing code
Push to your fork
Create a Pull Request (and cross your fingers)
Testing
# Run tests (and hope for the best)
npm test
# Run tests while watching files
npm run test:watch
# Run tests and generate coverage report
npm run test:coverage # Spoiler: We love high coverage!
Building
# Build for production
npm run build
# Preview the build
npm run preview # Moment of truth!
Remember: Code is like confessions β the cleaner, the better! π§Ή
Last updated