- after downloading this repo run
npm install
in the root folder - to run the application run
npm run start
and the application should be open on your default browser atlocalhost:3000
- If the application didn't start automatically open a browser and go to
localhost:3000
to view the application
- I have bootstrapped the front end of the application using the Create React App and it's documentation is given in Bootstrapping the application section
- I have created an api collection on Postman to document the endpoints and use them for integration at
- I have created a github repository to show my git etiquette at Konvertera Github link
- would have used react-app-polyfill if support required for IE 9,10,11
- configure eslint and use git hooks package like husky to lint on commits
- Integrate Storybook which allows the user to browse component library, test and develop
- Integrate React-router for routing in the application
- Integrate Redux for state management if we want to share data between different disjoint components
- Setting up the debugger for tests in VSCode
- Write centralised files for handling the side effects(xhr) and errors
- Take care of BigInit using polyfill to accomodate high precision integers for conversion
- written unit tests, integration and e2e tests
- tried to implement the app conforming to RWD would have taken few more time for any css related changes
- would have integrated a css-preprocessor like SASS or LESS
- would have implemented i18n
- would have implemented themes
- would have implemented optimizing the production build after looking at the webvitals.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console.Launches the test runner in the interactive watch mode.
See the section about running tests for more information.Builds the app for production to the
build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.
Your app is ready to be deployed! See the section about deployment for more information.Note: this is a one-way operation. Once you
eject
, you can’t go back! If you aren’t satisfied with the build tool and configuration choices, you caneject
at any time. This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands excepteject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. You don’t have to ever useeject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.You can learn more in the Create React App documentation. To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify