{"id":21224102,"url":"https://github.com/anbumani12/yocket_fe-task","last_synced_at":"2025-07-07T18:37:32.866Z","repository":{"id":248158044,"uuid":"827921224","full_name":"anbumani12/Yocket_FE-task","owner":"anbumani12","description":"Yocket Assignment Task FE","archived":false,"fork":false,"pushed_at":"2024-07-12T17:26:59.000Z","size":12593,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T17:33:29.082Z","etag":null,"topics":["axios","bootstrap","react","react-dom","react-hooks","react-router-dom","react-tostify"],"latest_commit_sha":null,"homepage":"https://rococo-eclair-fa6c47.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anbumani12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-12T17:07:16.000Z","updated_at":"2024-07-12T17:28:29.000Z","dependencies_parsed_at":"2024-07-12T19:41:43.978Z","dependency_job_id":"ec2ef7e9-02ab-4d8f-b367-60ac817f880c","html_url":"https://github.com/anbumani12/Yocket_FE-task","commit_stats":null,"previous_names":["anbumani12/yocket_fe-task"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anbumani12%2FYocket_FE-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anbumani12%2FYocket_FE-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anbumani12%2FYocket_FE-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anbumani12%2FYocket_FE-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anbumani12","download_url":"https://codeload.github.com/anbumani12/Yocket_FE-task/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243672368,"owners_count":20328762,"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","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":["axios","bootstrap","react","react-dom","react-hooks","react-router-dom","react-tostify"],"created_at":"2024-11-20T22:55:05.579Z","updated_at":"2025-03-15T01:40:29.362Z","avatar_url":"https://github.com/anbumani12.png","language":"JavaScript","readme":"# Fugitive Capture Simulation\n\nThis project simulates a fugitive capture scenario where cops select a city and vehicle to attempt capturing a fugitive. It includes both frontend (React) and backend (Node.js with Express and MongoDB) components.\n\n## Assumptions\n\n- **City Selection**: Assume cities are predefined and stored in the MongoDB database.\n- **Vehicle Selection**: Assume vehicle options are predefined and stored in the MongoDB database.\n- **Fugitive Simulation**: Assume the fugitive's location is simulated randomly within one of the cities.\n- **Capture Criteria**: A capture is successful if a cop selects the correct city where the fugitive is located.\n\n## Frontend\n\n### Screens Developed\n\n1. **Start/Landing Page**: Displays a welcome message and a button to start the capture simulation.\n2. **Capture Page**: Allows cops to select a city and vehicle to attempt capturing the fugitive.\n3. **Result Page**: Shows the capture status (success or failure) and the city where the fugitive was located.\n\n### Technologies Used\n\n- React for frontend UI components.\n- React Router for navigation between pages.\n- Axios for API requests to the backend.\n\n### Build Steps\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd \u003crepository-directory\u003e\n\n\n2. Install dependencies for the frontend:\n    npm install\n\n3.  Start the frontend development server:\n    npm run dev\n\nThis will run the frontend on \"http://localhost:5173\".","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanbumani12%2Fyocket_fe-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanbumani12%2Fyocket_fe-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanbumani12%2Fyocket_fe-task/lists"}