The whole setup is well tested in node >= 8.0.0. Make sure you're using correct version. If you need to switch between versions use NVM (https://github.com/creationix/nvm).
nvm use 8.0.0
npm install
To run development server:
npm start
To run tests:
npm run test
npm run test:watch
- Please create a fork of this repository.
- For all requests use https://punkapi.com/documentation/v2.
- Use
resolve
fromui-router
to fetch first 10 beers and display them in application templaterender beers list here
section. - Implement
Load more
button in beers list to fetch more beers. - Beers list should take full height of browser window and be scrollable.
- On item click from beers list load beer details and render them in
render beer details here
section. - Add search input, where you can filter beers list by name.
- Add unit tests if possible.