Share and rank Spotify playlists between coworkers.
- Ensure Node version >= 8.0 is installed
- Install and link packages:
npm i
oryarn
- Start application in dev mode:
yarn start
- The frontend will now be accessible via browser at
localhost:8080
- React Developer Tools Inspect the React component tree
- Redux DevTools View/debug Redux state changes
To build the application for production: yarn build:prod
To run the application in production mode: yarn start:prod
Codebase follows the guidelines outlined by the Javascript Standard Style as well as a few React specfic rules. Testing is done via Jest and Enzyme.
yarn lint
Lints entire codebaseyarn lint:fix
Automatically resolves fixable issues via ESLintyarn test
Runs unit testsyarn test:watch
Watches for code changes and then runs desired testsyarn test:debug
Sets debug hooks for unit testsyarn coverage
Generates a coverage report for codebaseyarn vet
Lints and unit tests codebase
Notes
yarn test:debug
: Once ran Node will wait for a debugger to attach before starting the tests. To attach, simply open your browser and go to chrome://inspect and click on "Open Dedicated DevTools for Node", which will give you a list of available node instances you can connect to. Click on the address displayed in the terminal (usually localhost:9229) and you will be able to debug tests using Chrome's DevTools.yarn coverage
: Coverage report results can be found in the following directory:coverage/index.html
Contributions are always appreciated.