Skip to content

Gio85/perlego_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Perlego Test

code style: prettier code style: eslint Commitizen friendly !npm type definitions !npm type definitions !npm type definitions state container: redux database style

Info

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

DB

In order to let this project work correctly, you need to have an instance of MySQL up and running in your machine

Settings

The following commands help you to run the project

  • Backend:

    • cd backend
    • yarn
    • yarn start
  • Frontend:

    • cd frontend
    • yarn
    • yarn start

Tests

  • Backend:
    • cd backend
    • yarn test:cov for unit tests with coverage

Screenshot 2021-04-18 at 12 56 21

- `yarn test:e2e` for e2e tests

Screenshot 2021-04-18 at 12 57 19

  • Frontend:
    • cd frontend
    • yarn test

Responsive Layouts

Screenshot 2021-04-18 at 17 06 55

Screenshot 2021-04-18 at 17 06 59

Screenshot 2021-04-18 at 17 07 04

Screenshot 2021-04-18 at 17 09 00

Screenshot 2021-04-18 at 17 09 03

Screenshot 2021-04-18 at 17 09 07

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published