npm 8.11 and node 16.15
"axios": "^0.27.2",
"bootstrap": "^5.2.1",
"core-js": "^3.8.3",
"json-server": "^0.17.0",
"vitest": "^1.2.0",
"vue": "^3.2.13",
"vue-router": "^4.0.3",
"vuex": "^4.0.0"
Font: Inter 400, 500, 600
8080 - for the Vue application
3000 - for the API server
npm install- install dependenciesnpm run api- run the APInpm run serve- for the Vue application
- You have to implement simple board for bus stops according to the User Stories and corresponding designs
- Directory
docscontainsopenapispecification for theapiresponse - feel free to play with that to check how api was implemented. - Realization should be as close to the design as possible
- Usage of Typescript is required
- Handling of loading and error states
- Unit tests
- Avoid using any other libraries
-
As a user I can open the url
http://localhost:8080and see entry page with listed lines (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?type=design&node-id=701-10332&mode=design&t=TTiUnvJpn1Nl7Rgh-4)- User can see title "Timetable"
- User can see navigation with links "Bus Lines" and "Stops" ("Bus Lines" is active link)
- User can see listed "Bus Lines". The "Bus Lines" should be sorted in the ascending order
- User can see placeholder "Please select the bus line first"
- User can click at the line
- Placeholder for the "Bus Stops" disappears
- Placeholder "Please select the bus stop first" is displayed for the "Time" list
- "Bus Stops" list is displayed (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?type=design&node-id=701-27993&mode=design&t=TTiUnvJpn1Nl7Rgh-4)
- "Bus Stops" should be sortable by clicking on the icon near the title (by field 'order')
- By default, "Bus Stops" should be sorted in the ascending order
- When line is selected, User can click at the stop
- Placeholder for the "Time" list disappears
- "Time" list is displayed (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?type=design&node-id=701-36989&mode=design&t=TTiUnvJpn1Nl7Rgh-4)
- "Time" list entries should be sorted in the ascending order
-
As a user I can open the url
http://localhost:8080/stopsand see "stops" page with listed stops (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?type=design&node-id=701-38103&mode=design&t=TTiUnvJpn1Nl7Rgh-4)- User can see title "Timetable"
- User can see navigation with links "Bus Lines" and "Stops" ("Stops" is active link)
- User can see the search bar
- If search bar is empty all stops should be visible
- Once any search term is entered, "Bus Stops" list should be filtered (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?type=design&node-id=701-40971&mode=design&t=TTiUnvJpn1Nl7Rgh-4)
- User can see listed "Bus Stops". The "Bus Stops" should be sorted in the ascending order
- "Bus Stops" should be sortable by clicking on the icon near the title