This is a code test for Perlego. The aim of this test is to create an API to fetch a list of books and to display them in a responsive grid. To do so, I decided to use Nestjs for the backend and React for the frontend. To manage the state, I decide to use React Redux
In order to let this project work correctly, you need to have an instance of MySQL up and running in your machine
The following commands help you to run the project
-
Backend:
cd backend
yarn
yarn start
-
Frontend:
cd frontend
yarn
yarn start
- Backend:
cd backend
yarn test:cov
for unit tests with coverage
- Frontend:
cd frontend
yarn test