Commit graph

16 commits

Author SHA1 Message Date
Kimmo Puputti
83f80b6950 Implement page title handling with SSR support using react-helmet 2017-01-05 17:01:14 +02:00
Kimmo Puputti
f6755882f1 Change server dev setup
- `npm start` only starts the applications and requires that `npm run
   build` is already run
 - `npm run dev-server` runs the build and starts the server with
   nodemon
 - update README
2017-01-05 15:33:01 +02:00
Kimmo Puputti
4c554fea50 Add nodemon 2017-01-05 15:32:33 +02:00
Kimmo Puputti
04c2fabbdc Clean up html template 2017-01-05 15:32:03 +02:00
Kimmo Puputti
c32f88da47 Add react-helmet 2017-01-05 14:28:28 +02:00
Kimmo Puputti
322ec599b8 Add page structure and universal routing 2017-01-05 14:23:06 +02:00
Kimmo Puputti
6f93d85a7d Render application in the server 2017-01-05 14:22:40 +02:00
Kimmo Puputti
e986b235a7 Change NPM scripts
- `npm run dev` to start dev mode
 - `npm start` to build production bundle and start the node server

=> Default to production with `npm start` and be explicit when
starting the dev server
2017-01-05 12:33:21 +02:00
Kimmo Puputti
af2d9b8e21 Add express, react-router, and lodash 2017-01-05 12:33:17 +02:00
Kimmo Puputti
cab920a688 Update README 2017-01-04 21:49:34 +02:00
Kimmo Puputti
df0b51282c Clean up boilerplate app 2017-01-04 21:49:02 +02:00
Kimmo Puputti
089910cf4e Make app entry point Universal
- Render to DOM in a browser
 - Export a render function for the server
2017-01-04 21:42:27 +02:00
Kimmo Puputti
5f38b1d74f Point to the local react-scripts fork 2017-01-04 21:39:46 +02:00
Kimmo Puputti
c9e51363f7 Add README file 2017-01-04 21:15:44 +02:00
Kimmo Puputti
875056cce2 Move create-react-app readme file to docs 2017-01-04 21:15:02 +02:00
Kimmo Puputti
d9dd053277 Init new app with create-react-app 2017-01-04 21:12:15 +02:00