CoffeScript starter template in React.js as server/client application.
npm install react-starterReact Starter
=============
React Coffee/JSX server rendering
Features:
- CoffeeScript
- React JSX support
- Server rendering markup
- Node Express framework
- Mocha tests
###Install dependencies
``sh
`
npm install
`
###Run development mode
sh
`
npm start
`
###Build for production
sh
`
npm run build
`
###Run Mocha tests
sh
``
npm test
###App structure
ReactStarter/
├── static/ # Static files.
├── test/ # Mocha tests.
└── src # Components.
├── Home.coffee # JSX component in CoffeeScript
├── client.coffee # Client full page render. (router)
├── package.json # Dependencies and run scripts.
├── LICENSE # Apache 2 License.
├── server.coffee # Start web server with npm start or coffee server.coffee
├── webstorm.coffee # WebStorm start script (optional).
###TODO
- routing