With data from (https://www.alphavantage.co), build a single page application which displays a daily OHLC chart of a stock of a user’s choice.
Rules:
- You have to draw the chart without using any helper library.
- We leave the available stock options up to you.
- User’s choice of stock shouldn’t be lost when the page is refreshed.
- The scale of the chart should make every period visible.
- You mustn’t use a project boilerplate or a scaffolding tools, your tooling choice (except for the chart) and how you bootstrap the app is part of the scoring criteria.
To run this project Node and npm are required
- Node 8.x
- npm 5.x
-
Clone the git repo.
git clone https://github.com/nithinM/react-ohlc-chart.git -
Run
npm installto install relevant node modules -
Run
npm run start:devto up and run the project.
npm run start:prodto run production version of the project.npm run watchto build and watch the development assets.npm run buildto build the production ready assets bundle.npm run lintto check code format issue.
- React - 16.4.2
- Material-UI - 3.0.3
- axios - 0.18.0
- Prettier - 1.14.2
- ESLint - 5.4.0
- husky - 0.14.3
- Autoprefixer - 9.1.0
- Webpack - 4.16.3
- Babel - 6.26.3
- And other necessary plugins