Code Monkey home page Code Monkey logo

interview-task-frontend's Introduction

Bus stops interview task

Your have to implement simple board for bus stops. Directory docs contains openapi specification for the api response - feel free to play with that to check how api was implemented. Don't install any other library

Required environment

npm 8.11 and node 16.15

Installed packages ready to use

"axios": "^0.27.2",
"bootstrap": "^5.2.1",
"vue": "^3.2.13",
"vue-router": "^4.0.3",
"vuex": "^4.0.0"
"sass": "^1.32.7",
"typescript": "~4.5.5"

Font: Inter 300, 400, 500, 700

Required open ports in environment

8080 - for the Vue application
3000 - for the API server

How to start environment

  1. npm install - install dependencies
  2. npm run api - run the API
  3. npm run serve - for the Vue application

User stories

  1. As a user I can open the url http://localhost:8080 and see entry page with listed lines (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?node-id=2%3A57)

    1. User can see title "Stops Board"
    2. User can see navigation with links "Lines" and "Stops" ("Lines" is active link)
    3. User can see listed "lines". The "lines" should be sorted in the ascending order
    4. User can see placeholder "Please select a line"
    5. User can click at line
      1. Placeholder disappear and user can see listed stops. Stops should be sorted ascending by field order from the api (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?node-id=701%3A27993)
      2. Use can see placeholder "Please select a stop"
    6. User can click at stop when line is selected
      1. Placeholder about selecting the stop disappear
      2. User can see listed hours for the selected stop sorted (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?node-id=701%3A36989)
  2. As a user I can open the url http://localhost:8080/stops and see "stops" page with listed stops (https://www.figma.com/file/Dj4FdiwG7uYUqV8ml7xKSL/Interview-Task---Frontend-Dev?node-id=701%3A38100)

    1. User can see title "Stops board"
    2. User can see navigation with links "Lines" and "Stops" ("Stops" is active link)
    3. User can see the search bar
    4. User can see listed "stops" sorted in the descending order
    5. User can filter list by the search bar
      1. The "stops" list should be filtered after user input
      2. If search bar is empty all stops should be visible

interview-task-frontend's People

Contributors

banych avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.