CSP451 Student Seed (Weeks 1–3) Starter repository for CheckPoints 1–3. Use this to begin your assignments.
Status Badges CI: CI Pages: Deploy Coverage: codecov Replace OWNER/REPO with your GitHub path after your first push.
Project Structure src/ — HTML/CSS/JS scaffold tests/ — Jest unit/integration tests (80%+ coverage threshold) scripts/ — build and smoke test scripts .github/workflows/ — CI, Pages deploy, scheduled audit .github/actions/setup-project — reusable composite action Week 1 Tasks Create at least 5 meaningful commits using conventional prefixes (feat, fix, docs, style, refactor). Add .gitignore, update README, and ensure repository has necessary files (index.html, style.css, script.js equivalent is in src/). Create feature branch feature/add-about-page, add about.html, open PR, then merge. Week 2 Tasks Practice branching strategies, open PRs, request reviews, resolve conflicts. Week 3 Tasks Ensure CI passes: lint, test with coverage >= 80%, and build. Pages deployment on pushes to main. Scheduled dependency audit opens issue for high/critical vulnerabilities. Local Development
nvm use || nvm install
npm ci
npm start
npm run lint npm run format
npm test
npm run build GitHub Pages After first push to main, enable Pages: Settings > Pages > Source: GitHub Actions. The workflow in .github/workflows/pages.yml deploys dist/. Codecov Optional: Add repository to Codecov and set CODECOV_TOKEN secret if private. License MIT
See WORKFLOWS.md for detailed CI/CD documentation.