https://github.com/benmalcom/jumpcut-challenge
https://github.com/benmalcom/jumpcut-challenge
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/benmalcom/jumpcut-challenge
- Owner: benmalcom
- Created: 2019-01-01T14:00:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T11:13:10.000Z (over 7 years ago)
- Last Synced: 2025-08-20T14:02:35.092Z (10 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Jumpcut Code Challenge
This project is a react-based project setup from scratch using webpack(v4).
Project structure has a main `src/` folder containing the business logic of the application,
also with `__tests__` folder. Also I implemented tiny unit tests for some components' basic rendering and the sequencers.
#### Running The Code
* Clone project into any directory
* Run `npm install` in project directory to install dependencies
* Run `npm run dev` to start up the webpack dev server, a mini web server by webpack to serve applications
* For tests, a basic unit test with jest/enzyme is implemented, run `npm test`
#### Deployment
In case of deployment, the package.json file's `prestart` hook bundles the application into a `build/` folder
and ready to be statically served by the express server.
#### Assumptions/Decisions
* I used `reactstrap` in the frontend to add some bootstrap styling
* In the frontend, I added a `reset` button which resets the current sequence generators to it's beginning.
also, I added a reset function to each (piped)sequencers and to the generator, also the accumulator function was modified a little for this.