This guide covers the development workflow for CoinLog.
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run lint |
Run ESLint |
npm test |
Run Vitest tests |
- TypeScript strict mode enabled
- ESLint with Next.js core-web-vitals config
- Prettier-style formatting via ESLint
- Component size guidelines (<50 lines preferred)
- Function length guidelines (<30 lines preferred)
# Run unit tests
npm run test
# Run tests with UI
npm run test:ui
# Run E2E tests (requires Playwright browsers)
npm run test:e2e
# Run tests with coverage
npm run test:coverageContributions are welcome! Please follow these guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- TypeScript strict mode compliance
- Follow existing code patterns (SRP, DRY, KISS)
- Add tests for new features
- Update documentation as needed
- Run
npm run lintandnpm testbefore submitting