generator-rd-react

1.0.0 • Public • Published

This is a template project written with React.js.

React.js is a javascript library developed and used by Facebook which is known for the ease of creating web components.

React only takes care of the view, the presentational layer of the application.

So, in order to use it in production, it needs other helper libraries for handling XHR Requests and Data Flow.

And my choice for such libraries are Axios(XHR Request) and Redux(Data Flow).

Axios is a promise based HTTP client for the browser and node.js and

Redux is a variation of Flux created by Dan Abramov which started with an idea of immutable states and having just one store for all data.

Here are a couple of good reads on Redux and it's smart and dumb components architecture.

http://jaketrent.com/post/smart-dumb-components-react/

https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.cj0ftj4ce

The template uses MongoDB and Express.js for the Backend.

In order to bootstrap the demo, run mongodb locally and point it from /config/config.js then run npm install and then npm start.

Package Sidebar

Install

npm i generator-rd-react

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • sean.lee