Skip to content

Repository files navigation

cursor-demo

Cursor SDLC demo — static Team Portal with contact form, tests, CloudFormation, and GitHub Actions deploy to AWS.

Quick links

Prerequisite Link
Jira ticket ASTRA-724
Figma design Team Portal - Contact Form
GitHub repo https://github.com/mhhnr/cursor-demo

See PREREQUISITES.md for setup links and TECHNICAL-GUIDE.md for how everything works technically.

Agent stack

Cursor skills and rules for Jira-driven changes — see AGENTS.md.

  • .cursor/skills/jira-website-change/ — ticket → code → test → PR → Jira
  • .cursor/skills/add-form-field/ — add/update form fields + tests
  • .cursor/rules/sdlc-demo.mdc — project conventions (auto-applied)

Local development

npm install
npm run serve          # http://localhost:8080
npm run test:all       # unit + E2E

Structure

site/                  Static HTML/CSS/JS
infra/template.yaml    CloudFormation (S3 + Amplify)
.github/workflows/     CI and deploy pipelines
tests/unit/            Vitest validation tests
tests/e2e/             Playwright form tests

Deploy

Push to main triggers .github/workflows/deploy.yml:

  1. Run tests
  2. Deploy/update CloudFormation stack cursor-demo
  3. Sync site/ to S3

Requires GitHub repository secrets: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION.

About

demo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages