You probably want to check out the UI code, and deployed app first. There you'll find much more comprehensive documentation. This was before monorepos were cool, okay?!
This is some simple code to generate and serve random book data.
- write basic documentation
- write unit test cases
- add persistence layer
- write implementation
- deploy server to heroku
- design item icons for front-end
- create user-interface
- node v7.9.0
- yarn v0.23.3
NOTE: This was developed in MacOS Sierra v10.12.3 using the aforementioned versions. This may be compatible with other versions, but cannot be guaranteed.
- clone this repository:
git clone https://github.com/cpoliver/tech-test-books.git
- install the project dependencies:
yarn install
- run the app for development:
yarn dev
(on-the-fly transpilation withbabel-node
) - run the unit tests:
yarn test
oryarn test:watch
- build the transpiled sources (to
./dist/
):yarn run build
- run the built sources
yarn start