Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedwatson/react-express-starter
ReactJS / Express Starter Project
https://github.com/jedwatson/react-express-starter
Last synced: 23 days ago
JSON representation
ReactJS / Express Starter Project
- Host: GitHub
- URL: https://github.com/jedwatson/react-express-starter
- Owner: JedWatson
- License: mit
- Created: 2014-11-18T02:01:46.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-27T01:51:15.000Z (over 9 years ago)
- Last Synced: 2024-10-04T13:41:48.195Z (about 1 month ago)
- Language: CSS
- Size: 287 KB
- Stars: 16
- Watchers: 7
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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)
* ESLintIt 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](https://github.com/JedWatson/generator-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](http://www.thinkmill.com.au). Licensed under the [MIT License](https://github.com/JedWatson/react-express-starter/blob/master/LICENSE).