Write a library of books and magazines using React.
You have to implement an abstracted and simple library system.
-
This is a real world situation. You are allowed to consult the Internet, use every library you want, call a friend ...
BUT: You are not allowed to do pair programming.
-
Develop your code based on React.js version 16, Redux version 4 and NEXT.js version 9.
You do not need to use Semantic-UI, the layout, tests or routing provided. You can rename, refactor, remove or delete them as you wish. They were created to provide a minimum structure so you can focus on what you think it is important to finish the tasks requested.
-
Keep the following priorities in mind while you implementing - in the mentioned order:
- Code quality
- Usage of object oriented methods
- Functionality
-
Given resources:
Hint: There is a reason why there are so many books and authors in german with umlauts.
authors.csv
: Contains authors with itsemail
,firstName
andlastName
.books.csv
: Contains books with itstitle
,description
, one or moreauthors
and anisbn
.magazines.csv
: Contains magazines with itstitle
, one or moreauthors
, apublishedAt
and anisbn
.
-
Your software should read all data from the given CSV files in a meaningful structure.
-
Print out all books and magazines with all their details (with a meaningful output format).
Hint: Do not call
printBooks(...)
first and thenprintMagazines(...)
;-) -
Find a book or magazine by its
isbn
. -
Find all books and magazines by their
authors
โ email. -
Print out all books and magazines with all their details sorted by
title
. This sort should be done for books and magazines together. -
Implement a view for direct path access for each ISBN and link then to the search results.
-
Add a book and a magazine to the data structure of your software and export it to a new CSV files.
-
Write Unit tests for one or more methods. As this is a test for a lead level position we are expecting good test coverage here as you will be advocate for this and understand the importance of high test coverage in your applications.
-
Clone the repo.
-
Open in your favorite IDE.
-
Prepare a solution.
-
Let Commercial People know when you are done with your solution.
yarn install
yarn start
yarn lint
yarn test
See LICENSE file.
Your code will be reviewed by other JavaScript Leads at Commercial/Residential People and may also be reviewed by other more junior JavaScript Engineers who you will lead if you are successful in your application for this role.
As such, you should aim to impress and do things to the best possible standards as you will be expected to lead by example if you join. You should strive for the best possible standards in the frontend domain as you will be mentoring and developing the skills and standards of more junior Engineers so it is vital that you are highly respected by your peers.