Ella77 / generatedoc-starter

ReactJS / Express Starter Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-express-starter

ReactJS / Express Starter Project.

Why? How?

This is a starter project that you can use as a base for React Applications.

It comes with

  • React Router
  • CSS Framework (w/ LESS)
  • React UI Components (WIP)
  • ESLint

It uses

  • Express for serving static assets, templates and API endpoints
  • Nunjucks for server-side template rendering
  • Browserify for building your client application
  • Babel for transforming JSX and ES6

This is the base for a Yeoman Generator

This is the prototype for the react-express yeoman generator.

If you want to create your own react-express project, you should run the generator; if you want to preview what it will generate, see this project.

Usage

First, install dependencies from npm:

npm install

To start the server:

npm start

To lint the code:

npm run lint

Development

The client app is in /client, the server is in /server, and everything in /public will be served as static assets.

.less files in the /public/* folder will automatically be processed into .css files.

.js files in the /client/scripts/* folder will be browserified when requested from /js/*.

A common browserify package will be generated at /js/common.js containing all the packages specified in /client/config.js.

License

Copyright © 2015 Thinkmill. Licensed under the MIT License.

About

ReactJS / Express Starter Project

License:MIT License


Languages

Language:CSS 51.4%Language:JavaScript 48.4%Language:HTML 0.2%