gauravChaturvedi / react-skeleton

0 stars 0 forks source link

React App

Usage

npm install
npm start
open http://localhost:3000

Dependencies

Development

All development related files, services, components etc go in the /src folder.

Testing

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.

Routing

We use react-router to define routing logic within our application inside /src/Routes.js.