{"id":24092815,"url":"https://github.com/envid-tech/safety-test","last_synced_at":"2026-04-10T12:31:31.794Z","repository":{"id":62667475,"uuid":"533057608","full_name":"enVId-tech/Safety-Test","owner":"enVId-tech","description":"The original repository and concurrent update location for the OA Robotics Safety Test, built in TS for React, Next.JS with TS, SCSS, and TS-Node. Previously integrated the Google Sheets API, but now includes local file saving.","archived":false,"fork":false,"pushed_at":"2026-04-06T04:44:47.000Z","size":20585,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T06:26:24.902Z","etag":null,"topics":["css","html","javascript","json","nextjs","node","nodejs","react","reactjs","scss","typescript"],"latest_commit_sha":null,"homepage":"http://frc4079.org/safetytest","language":"TypeScript","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/enVId-tech.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-05T20:55:59.000Z","updated_at":"2026-04-06T04:44:51.000Z","dependencies_parsed_at":"2025-12-05T06:04:11.954Z","dependency_job_id":null,"html_url":"https://github.com/enVId-tech/Safety-Test","commit_stats":null,"previous_names":["envid-tech/safety-test"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/enVId-tech/Safety-Test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enVId-tech%2FSafety-Test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enVId-tech%2FSafety-Test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enVId-tech%2FSafety-Test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enVId-tech%2FSafety-Test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enVId-tech","download_url":"https://codeload.github.com/enVId-tech/Safety-Test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enVId-tech%2FSafety-Test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","html","javascript","json","nextjs","node","nodejs","react","reactjs","scss","typescript"],"created_at":"2025-01-10T08:50:41.063Z","updated_at":"2026-04-10T12:31:31.784Z","avatar_url":"https://github.com/enVId-tech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NOTE: This website is considered as COMPLETE\n- Latest NextJS Update: 13.5.6\n\n# OA Robotics Quiz Application\n\nThis Next.js application provides an interactive quiz platform designed for OA Robotics team members. It allows users to test their knowledge through a series of questions with multiple answers per question.\n\n## Features\n\n### User Authentication\n- User identification via username storage in localStorage\n- Admin detection and special privileges for authorized users\n\n### Quiz Selection\n- Multiple test types available for different topics\n- Team and category selection functionality\n\n### Quiz Interface\n- Multi-answer question format where users can select all applicable answers\n- Navigation between questions with previous and next buttons\n- Progress tracking through the test\n- Real-time score display for admin users\n\n### Scoring System\n- Automatic scoring for admin users\n- Score calculation based on correct answers\n- Pass/fail determination\n- Results storage and submission\n\n### UI Elements\n- Clean, modern interface with custom styling\n- Google Fonts integration (Work Sans 300/500)\n- Responsive design for various devices\n\n## Technical Implementation\n\n### Frontend\n- Built with React and Next.js\n- TypeScript for type safety\n- SCSS modules for component-specific styling\n- Font optimization using `next/font`\n\n### State Management\n- React hooks for local state management\n- `useState` for handling quiz flow and user selections\n- `useEffect` for data fetching and side effects\n\n### API Integration\n- RESTful API endpoints for:\n    - Fetching quiz settings\n    - Submitting answers\n    - Retrieving admin information\n    - Storing test results\n\n### Data Handling\n- JSON data structure for questions and answers\n- Local storage for preserving user information across sessions\n- Error handling with try/catch blocks\n\n## Project Structure\n\nThe application follows Next.js conventions with:\n- `/pages`: Route components including the test interface\n- `/styles`: SCSS modules for component styling\n- API routes for backend functionality\n\n## Getting Started\n\n1. Clone the repository\n2. Install dependencies with `npm install`\n3. Run the development server with `npm run dev`\n4. Access the application at http://localhost:3000\n\n## Usage Flow\n\n1. User enters their name and selects a team/category\n2. User selects a test type\n3. Questions are presented one by one with multiple-choice answers\n4. User navigates through questions and submits answers\n5. Upon completion, results are displayed and stored\n6. Admin users receive additional features including automatic scoring\n\n## Technologies Used\n\n- Next.js\n- React\n- TypeScript\n- SCSS\n- localStorage API\n- Fetch API\n\n## Future Enhancements\n\n- User authentication with secure login\n- Expanded question bank and test categories\n- Detailed analytics for test performance\n- Timed quiz options\n- Mobile-optimized interface\n\n## Contributing\n\nContributions to improve the application are welcome. Please follow the standard fork and pull request workflow.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvid-tech%2Fsafety-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvid-tech%2Fsafety-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvid-tech%2Fsafety-test/lists"}