Audio player application
Audio player built with typescript, node, react & rxjs
Based on create-react-app --scripts-version=react-scripts-ts
Install
- Install node https://nodejs.org/en/, node 8 is required
- Install yarn globally
npm i -g yarn
- Install packages
yarn
Launch
- Run app
yarn start
- Open browser at localhost:3000
Controls
- UP/DOWN to select track
- ENTER to play track
- LEFT/RIGHT play previous/next track
- SPACE toggle pause
Adding tracks
New tracks can be added manually through filesystem Player will update them during runtime ( there's no filter by file type currently so any accidental .DS_Store etc will popup)
- Before launch tracks can be added to
./public/tracks
- After launch tracks can be added to
./build/assets/tracks
Tests
- Run
yarn test