{"id":16467325,"url":"https://github.com/elforastero/a1-expert-javascript-developer","last_synced_at":"2026-01-19T08:32:23.851Z","repository":{"id":39012763,"uuid":"224900082","full_name":"ElForastero/a1-expert-javascript-developer","owner":"ElForastero","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-13T18:43:59.000Z","size":3721,"stargazers_count":1,"open_issues_count":23,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T04:26:36.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ElForastero.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}},"created_at":"2019-11-29T17:53:27.000Z","updated_at":"2023-03-08T15:05:09.000Z","dependencies_parsed_at":"2023-01-28T14:18:37.119Z","dependency_job_id":null,"html_url":"https://github.com/ElForastero/a1-expert-javascript-developer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElForastero%2Fa1-expert-javascript-developer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElForastero%2Fa1-expert-javascript-developer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElForastero%2Fa1-expert-javascript-developer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElForastero%2Fa1-expert-javascript-developer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElForastero","download_url":"https://codeload.github.com/ElForastero/a1-expert-javascript-developer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247792922,"owners_count":20996895,"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":[],"created_at":"2024-10-11T11:46:58.484Z","updated_at":"2026-01-19T08:32:23.845Z","avatar_url":"https://github.com/ElForastero.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Design\n\n[https://github.com/squirreljuror/api-design-and-styles/blob/master/design-and-style-guide.pdf]()\n\n# Task for Frontend Engineer\n\nThe following document describes the requirements, resources and expectations related\nto the task for the JavaScript Engineer role.\n\n# Requirements\n\nThe application must meet the following requirements:\n\n- Fetch all available cars\n- Implement pagination with limit of 10\n- Allow the user to filter the cars by manufacturer or color\n- Allow the user to sort the car by mileage\n- Show the details of a selected car\n- Add/Remove a car to/from the favorites collection using local storage\n\n# Technical requirements\n\n- Create a SPA using **ReactJS**\n- Use redux for application state (optional)\n- Use react-router-dom to manage routing\n- Make tests green\n- Use TypeScript, `any` types are not allowed\n- Use react-testing-library for component tests\n\n# Resources\n\nFor the UI, please use the design and style guide as a visual guide for your\napplication and implement the styles yourself from scratch instead of using a library\nlike Bootstrap or Material UI.\n\n[https://github.com/squirreljuror/api-design-and-styles/blob/master/design-and-style-guide.pdf]()\n\nFor the application data, please use following methods:\n\n`axios({ url: '/api/cars?page=1\u0026sort=desc\u0026manufacturer=Audi\u0026color=red' })` to fetch cars\n\n```javascript\n{\n  cars: [{\n    stockNumber: 12345,\n    manufacturerName: 'Audi',\n    modelName: 'A5',\n    color: 'red',\n    mileage: {\n      number: 223;\n      unit: 1;\n    },\n    fuelType: 'Benzin',\n    pictureUrl: '/images/car.svg'\n  }],\n  totalPageCount: 20,\n  totalCarsCount: 100\n}\n```\n\n`axios({ url: '/api/cars/1' })` to fetch one car by stockNumber\n\n```javascript\n{\n  stockNumber: 12345,\n  manufacturerName: 'Audi',\n  modelName: 'A5',\n  color: 'red',\n  mileage: {\n    number: 223;\n    unit: 1;\n  },\n  fuelType: 'Benzin',\n  pictureUrl: '/images/car.svg'\n}\n```\n\n`axios({ url: '/api/colors' })` to fetch colors\n\n```javascript\n['red', 'green'];\n```\n\n`axios({ url: '/api/manufacturers' })` to fetch manufacturers\n\n```javascript\n{\n  uuid: '123-231',\n  name: 'BMW',\n  models: [{\n    uuid: '234-1222',\n    name: 'A5'\n  }]\n}\n```\n\nNote: Using of `axios` or other xhr based library is mandatory. (fetch api is not supported)\n\n# Our expectations\n\nThe most important things for us when evaluating your solution are:\n\n- Make all tests green\n- Use best practices\n- Clear code organization and project structure\n- A well developed UI/UX\n\nFeel free to choose the techniques you feel more comfortable with and\nthe most important thing: _Have fun!_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felforastero%2Fa1-expert-javascript-developer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felforastero%2Fa1-expert-javascript-developer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felforastero%2Fa1-expert-javascript-developer/lists"}