At Vistar, we like to play "Guess the Number" in our downtime. One of our engineers hacked together our current version using raw jQuery. We're trying to modernize with some new technology, and we think React.js would do the trick.
Some improvements we'd like for the new version:
- Replace jQuery with React
- Separate code and markup
- Break up UI into modular components
- Test the components
Our current version looks plain. You may want to spruce it up, but we won't dock you if you don't.
Feel free to take whatever liberties with the implementation you like. No need to go overboard - if you spend more than two hours on it, maybe take a step back.
And, if there's anything special we have to do to run your program, just let us know. A Makefile never hurt anyone.
Deploy with yarn install && yarn start
or npm install && npm start
Run tests with yarn test
or npm test
Deployed at https://vistar-media.herokuapp.com/ (free tier, may take a while to start up)