A card stack that a user swipes right (accept) or left (reject) or down (skip). This is built entirely in the front end with VueJS and Interactjs and Scss. Just playing around with the cards in a variety of ways to explore the functionality. I have a bunch of mini mvps here to try out:
-
A simple counter where each card has a value of 1 and the cumulative total of the accepted (+1), rejected (-1) and skipped cards (0) is displayed.
-
Each card displays a character retrieved from https://swapi.co/ api and then displays a list of the selected character names.
-
Display a horizontal bar chart of the number of selected and unselcted characters using d3:
- Display the chart when a button is clicked.
- Add skipped selections to chart.
- Aniamte bars on the chart.
-
Implement the above using a Vuex store.
-
Unit and End-2-End test the components and views.
- VueJS
- InteractJS
- Jest (unit testing)
- Cypress (e2e testing)
npm install
npm run serve
npm run build
npm run lint
npm run test:unit
npm run test:e2e