node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

react-starter

React Starter

React Coffee/JSX server rendering

Features:

  • CoffeeScript
  • React JSX support
  • Server rendering markup
  • Node Express framework
  • Mocha tests

Install dependencies

npm install

Run development mode

npm start

Build for production

npm run build

Run Mocha tests

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