npm install
npm start
open http://localhost:3000
All development related files, services, components etc go in the /src
folder.
To run tests, run the command npm test
Mocha test framework with chai, enzyme for various assertions. Will be updated as and when required.
To add a unit test, simply create a -test.js
file inside the /tests
folder with the same directory structure as the component itself inside /src
.
We use react-router to define routing logic within our application inside /src/Routes.js
.