Skip to content

remarkablemark/react-engine-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-engine-template

A template for react-engine and react-router.

Installation

$ git clone https://github.com/remarkablemark/react-engine-template.git
$ cd react-engine-template
$ npm install # and sets up Git hooks

Usage

Development:

$ npm run dev

# in a new tab or window
$ open http://localhost:8080

Production:

$ npm start

Overview

.
├── app.js # express app
├── build
│   └── ... # assets generated from `src`
├── bin
│   └── www # entry server file
├── nodemon.json
├── package.json
├── routes
│   ├── Routes.jsx # react-router routes
│   └── index.js   # express routes
├── scripts
│   └── ... # git and npm scripts
├── src
│   ├── ... # other source files to be compiled
│   └── main.js # entry file for webpack
├── views
│   └── ... # components
└── webpack
    └── ... # webpack configs

License

MIT