Project made for the recruitment process with usage of Vue, TypeScript, Sass, and docker (with docker-compose).
The main purpose was to mimic the ticket machine, allow to manually chose the station with hints which letter is available to pick next. Data was fetched from the server and parsed. At the start all letters are possible to choose, after the choice of letter, next available letters were highlighted and possible station results were shown. Available letters were the first letters of all the next possible stations. For better user experience clear and back buttons were added. All needed station data is available when the station is chosen to help with the possible development of the project.
npm install or docker-compose up
More tests can be written, especially some E2E tests.
The usage of the store is also a good idea here.
Git hook on commit with lint and prettier.
Do not use setMethods on wrapper in tests as it is deprecated.
Hope you will enjoy