{"id":31652963,"url":"https://github.com/inflectra/kiro-sample-project-adam","last_synced_at":"2025-10-07T10:39:51.527Z","repository":{"id":309239535,"uuid":"1027478412","full_name":"Inflectra/kiro-sample-project-adam","owner":"Inflectra","description":"Sample Amazon Kiro project to try out its features","archived":false,"fork":false,"pushed_at":"2025-08-10T17:57:59.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T19:35:37.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Inflectra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-28T04:38:52.000Z","updated_at":"2025-08-10T17:58:02.000Z","dependencies_parsed_at":"2025-08-10T19:41:20.779Z","dependency_job_id":null,"html_url":"https://github.com/Inflectra/kiro-sample-project-adam","commit_stats":null,"previous_names":["inflectra/kiro-sample-project-adam"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Inflectra/kiro-sample-project-adam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Fkiro-sample-project-adam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Fkiro-sample-project-adam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Fkiro-sample-project-adam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Fkiro-sample-project-adam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inflectra","download_url":"https://codeload.github.com/Inflectra/kiro-sample-project-adam/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Fkiro-sample-project-adam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278762927,"owners_count":26041444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-07T10:39:48.166Z","updated_at":"2025-10-07T10:39:51.520Z","avatar_url":"https://github.com/Inflectra.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Online Survey Tool\n\nThis is a sample application that was generated by Amazon Kiro using specifications\ncreated inside Spira from Inflectra. See the article: [Using Spira and Kiro to Generate Applications using Agentic AI](https://www.inflectra.com/Ideas/Whitepaper/Using-Spira-and-Kiro-to-Generate-Application-using-Agentic-AI.aspx)\n\nThe sample application is a simple web application that allows users to login, complete surveys, and store their responses in a database.\n\n## Features\n\n- **User Authentication**: Secure login system with session management\n- **Responsive Design**: Optimized for both mobile and desktop devices\n- **Fast Loading**: Survey section loads within 3 seconds on mobile, 2 seconds on desktop\n- **Clear Instructions**: User-friendly guidance for survey completion\n- **Prominent Survey Link**: Easy-to-find survey access from the dashboard\n- **Database Storage**: Survey responses stored securely in SQLite database\n\n## Quick Start\n\n1. **Install Dependencies**\n   ```bash\n   npm install\n   ```\n\n2. **Start the Application**\n   ```bash\n   npm start\n   ```\n\n3. **Access the Application**\n   - Open your browser and go to `http://localhost:3000`\n   - Login with default credentials:\n     - Username: `admin`\n     - Password: `admin123`\n\n## Development\n\nTo run in development mode with auto-restart:\n```bash\nnpm run dev\n```\n\n## Project Structure\n\n```\nonline-survey-tool/\n├── server/\n│   ├── app.js              # Main server application\n│   ├── database/\n│   │   └── init.js         # Database initialization\n│   └── routes/\n│       ├── auth.js         # Authentication routes\n│       ├── dashboard.js    # Dashboard routes\n│       └── survey.js       # Survey routes\n├── public/\n│   ├── index.html          # Main HTML file\n│   ├── styles/\n│   │   └── main.css        # Application styles\n│   └── js/\n│       └── app.js          # Frontend JavaScript\n├── package.json\n└── README.md\n```\n\n## API Endpoints\n\n### Authentication\n- `POST /api/auth/login` - User login\n- `POST /api/auth/logout` - User logout\n- `GET /api/auth/status` - Check authentication status\n\n### Dashboard\n- `GET /api/dashboard/data` - Get dashboard data\n\n### Survey\n- `GET /api/survey/:id` - Get survey data\n- `POST /api/survey/:id/submit` - Submit survey response\n- `GET /api/survey/responses/my` - Get user's survey responses\n\n## Testing\n\nThe application includes comprehensive test scenarios covering:\n- Mobile and desktop performance (3s/2s load time targets)\n- Cross-browser compatibility\n- Keyboard navigation and accessibility\n- Survey functionality and data storage\n- Error handling and edge cases\n\n## Security Features\n\n- Password hashing with bcrypt\n- Session-based authentication\n- Rate limiting\n- Security headers with Helmet\n- Input validation and sanitization\n\n## Browser Support\n\n- Chrome (latest)\n- Firefox (latest)\n- Safari (latest)\n- Edge (latest)\n- Mobile browsers (iOS Safari, Chrome Mobile)\n\n## Performance Targets\n\n- **Mobile**: Survey section loads within 3 seconds\n- **Desktop**: Survey section loads within 2 seconds\n- **Loading Indicators**: Shown for loads taking longer than 2 seconds\n\n## License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflectra%2Fkiro-sample-project-adam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finflectra%2Fkiro-sample-project-adam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflectra%2Fkiro-sample-project-adam/lists"}