You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Deployment**: [Azure Static Web Apps](https://azure.microsoft.com/services/app-service/static/)
14
16
15
17
## Development
16
18
17
19
### Prerequisites
18
20
19
-
- Node.js 18+
21
+
- Node.js 18+
20
22
- npm or yarn
21
23
22
24
### Getting Started
@@ -35,15 +37,81 @@ npm run build
35
37
npm start
36
38
```
37
39
40
+
### Testing
41
+
42
+
```bash
43
+
# Run tests
44
+
npm test
45
+
46
+
# Run tests in watch mode
47
+
npm run test:watch
48
+
49
+
# Run tests with coverage report
50
+
npm run test:coverage
51
+
```
52
+
53
+
**Coverage Thresholds**: 60% for statements, branches, functions, and lines.
54
+
55
+
### Linting
56
+
57
+
```bash
58
+
# Run ESLint
59
+
npm run lint
60
+
```
61
+
62
+
## Documentation
63
+
64
+
Comprehensive documentation is available in the `docs/` directory:
65
+
66
+
| Document | Description |
67
+
|----------|-------------|
68
+
|[Project Context](docs/project-context.md)| Business goals, target users, and user journeys |
69
+
|[Design System](docs/design-system.md)| Design tokens, typography, colors, and component inventory |
70
+
|[Architecture Overview](docs/architecture-overview.md)| System architecture, data flow, and deployment pipeline |
71
+
|[Tech Stack](docs/tech-stack.md)| Detailed technology breakdown by layer |
72
+
|[Best Practices Benchmark](docs/best-practices-benchmark.md)| Industry standards and evaluation criteria |
73
+
|[Audit Findings](docs/audit-findings.md)| Code audit results and recommendations |
74
+
|[Technical Debt Registry](docs/technical-debt-registry.md)| Tracked issues, priorities, and resolution status |
75
+
38
76
## Deployment
39
77
40
78
The website is deployed to Azure Static Web Apps. See [`codeflow-infrastructure`](https://github.com/JustAGhosT/codeflow-infrastructure) for deployment infrastructure.
41
79
80
+
### CI/CD Pipeline
81
+
82
+
The project uses GitHub Actions for continuous integration:
83
+
84
+
-**Build**: Compiles the Next.js application
85
+
-**Test**: Runs Vitest test suite (blocking)
86
+
-**Lint**: Runs ESLint checks (blocking)
87
+
-**Deploy**: Deploys to Azure Static Web Apps on push to main
88
+
89
+
## Contributing
90
+
91
+
### Code Quality Standards
92
+
93
+
1.**TypeScript**: All code must be properly typed
94
+
2.**Testing**: New features should include unit tests
95
+
3.**Linting**: Code must pass ESLint without errors
96
+
4.**Accessibility**: Follow WCAG 2.1 AA guidelines
97
+
98
+
### Commit Message Format
99
+
100
+
Use semantic commit messages:
101
+
102
+
```text
103
+
feat: add new feature
104
+
fix: resolve bug
105
+
docs: update documentation
106
+
test: add or update tests
107
+
refactor: code improvements without behavior change
0 commit comments