This application is about a collectible album where you can open packs that will give you cards based on the Star Wars saga. Each card is categorized as either Special or Regular. You will have a space where you can view your album and the cards you have obtained so far.
In conclusion, the application is built with React and Vite. You can check the demo version here.
Make sure you have Node.js and npm installed on your machine before running the application.
- Clone this repository:
git clone https://github.com/alejor64/credit-card-payment.git
- Navigate to the application directory:
credit-card-payment
cd credit-card-payment
- Install dependencies:
yarn install
To run the application in your local environment, use the following command:
yarn dev
This will start the application at http://localhost:5173.
Unit tests are configured with Jest. You can run the tests in watch mode using the following command:
yarn test
src
├── domain/
│ ├── application/
│ │ ├── selectors/
│ │ ├── slices/
│ │ ├── constants.js
│ │ ├── helpers.js
│ ├── infrastructure/
│ │ ├── routes.js
│ ├── presentation/
│ │ ├── assets/
│ │ ├── component/
│ │ ├── pages/
├── router/
│ ├── AppRotuer.jsx
│ ├── routes.js
├── shared/
│ ├── application/
│ │ ├── theme/
│ │ │ ├── color.scss
│ │ │ ├── constants.scss
├── store/
│ ├── index.js
│ ├── store.js
├── tests/
│ ├── domain/