ReactJS Reference
This repository holds the source code of a reference for the development of a React.js web written mainly in javascript.
Table of content
Overview
The reference uses a architecure based on Flux architecture and a Generic Model View Controller pattern.
The architecture uses the following structure:
- /actions: Handle data operations such as CRUD actions
This component is the responsible of manage connection to REST APIs, websockets, etc.
- /components: Handle DOM rendering and event definition.
- /resources: Stores images, assets, etc.
- /seed: Autogenerated files (builder).
Installation
- Clone this repository.
- Install dependencies.
$ npm install
- Install builder
$ npm install -g seed-builder
- Run server.
$ npm start
Examples
- Request example.
GET http://localhost:3000
Deployment
- To deploy application to aws see deployment.