Add book modal
- Clone this repository
- Install the dependencies by running the following command:
yarn
- Start the development server by running the following command:
yarn start
To run the unit tests, use the following command: yarn test
src
├── components
│ ├── AddBook.tsx
│ ├── BookList.tsx
│ ├── Card.tsx
│ └── Header.tsx
├── store
│ ├── models
│ │ ├── books.ts
│ │ └── countries.ts
│ └── index.ts
├── style
│ ├── BookList.tsx
│ ├── Card.tsx
│ ├── Form.tsx
│ ├── Header.tsx
│ └── Modal.tsx
├── test
│ ├── App.test.tsx
│ ├── books.test.ts
│ └── countries.test.ts
├── App.tsx
└── index.tsx
- The title and author for this project should only contain a combination of alphabets (both lowercase and uppercase) and numbers. No special characters or spaces are allowed.
- The ISBN for this project should only contain a combination of alphabets (both lowercase and uppercase), numbers and '-'