Skip to content

sousapedro/credit-card-checkout

Repository files navigation

Credit Card Checkout

This project is a credit card checkout based on one of the DailyUI challenge interfaces. The main goal was to reproduce the chosen interface using Vue.js as its framework as well as its main practices.

In order to validate the credit card number information, Braintree's Card Validator library was used. Unit tests were also written in order to guarantee individual components functionality using Jest and Babel.

Project setup

To run the project, it it necessary to install npm package manager. Initially, it is necessary to have all dependencies installed. For that, simply run on the project root:

npm install

Afterwards, it is necessary to run the application on your local server using:

npm run serve

And you're all set! If you want to run the project's unit tests and see a detailed log of the output, just run:

npm run test:unit

Project Visualization

Below are some images of the application running in both web and mobile visualization:

Empty Card View

Invalid Card View

Valid Card Viuew

Mobile Card View

About

Credit card checkout using Vue.js based on DailyUI challenge interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published