https://github.com/alex-ray/books
A coding exercise
https://github.com/alex-ray/books
Last synced: 11 months ago
JSON representation
A coding exercise
- Host: GitHub
- URL: https://github.com/alex-ray/books
- Owner: Alex-ray
- Created: 2019-03-10T05:19:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T21:01:20.000Z (almost 7 years ago)
- Last Synced: 2025-01-08T19:40:50.363Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://books-ppfajljos.now.sh
- Size: 86.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Books
## Challenge
Attached is a sketch file for a small react app I would like you to build.
Also attached is `books.json` which you should use to populate the data in the app.
Here is a quick description of functionality:
On the left, you can search for or filter books. Each filter shows the filter label, and a count of the total books matching that filter.
On the right, you see a list of books matching the search / filter criteria.
Finally, the state of the current search and filters should be saved to the URL, so that reloading the page will also reload the state.
This should take roughly 2-4 hours.
[books.json](https://media.superhumanapp.com/attachments/115671810875832157366/1694f4789d3a2f49/ANGjdJ_NUH6SGsRYDDDHHFcGj-dp4LJjfcCGMXV_BK2XHrqXe9BNrHEGEtCj3nRitBUmcNUCt5p58NvqmUizOtvmM7DUg3MTWJNaIh6UZXchH1aKqVs4CR3jwo4vRUQv7Z_ARA9NUf1mHYR-XcIbhAOIXd-GPec_o_KujT1uKT_9GOydFw10xPssOoXdmQ9kfaZW1vjY4FlyggQHlLDAljNVlS_lbONQD99JPfNmv_CJXC5Jz9fZaY8uTepq4XPjJzml6-5D6Zeq17CDX1E9BP094eKjEFv-tVrS1za6ONEL21LGg4FDUZH4OUUoaQx3-0xatNPXhoYvtQpf1Yv4HXeK0ihP24DypbIEeiVsaPBG7CQmDy_6JPW_p9I9Proy13sLte7lsVnmzc53Hkaz)
[sketch file](https://media.superhumanapp.com/attachments/115671810875832157366/1694f4789d3a2f49/ANGjdJ94jkxxtzGUvnBre3G8C-SNeP3HNE7fgR3kK0wqJHFBX1kPPynY2kgL0ukpmBvPPk9BYBeuKVdVYg74likHG8Hg9YbPXWcFix8woiABfv-tqF0IjcHMwz6qt-aGNrxQP1wEYD_ZY8-i0jHV6IrZTkP7h-hQwKzSbdkPG_6gMsyWcTfTF6xOFWR9h4U908wMZ-CYxfDr_Rn7BO4jGvzwHIJnjGPBcC-T_tLnRJuf4vnVX7-sMCplbi-HJt9zM_rHJCiUEiHWLnyK4YQ3r3gC_J19EhnQsETyVmCH0L_G8jWiYpqpwWLjm7lE9QIk0i1yjOQv8JoCAVwroEZqmz9ta4ZumUCztfKAFODcNg3EV9_H_0cSCZk8Upe_0YBjWT_GEyeDv36vK7gzB0Wi)
### To Use
clone this repository
`git clone git@github.com:Alex-ray/books.git`
### Navigte into the repository
`cd books`
### Install the dependencies
`yarn`
### Run production
`npm run build && npm run start`
### Run development
`npm run dev`
You can also view it live here -> https://books-ppfajljos.now.sh