Commit graph

26 commits

Author SHA1 Message Date
Kimmo Puputti
f5ce2c283c Add latest react-scripts fork 2017-01-10 15:18:06 +02:00
Kimmo Puputti
c2e17f55d1 Merge pull request #1 from sharetribe/use-custom-scripts
Initial skeleton application
2017-01-09 12:07:56 +02:00
Kimmo Puputti
ba3418c661 Add documentation 2017-01-09 11:54:38 +02:00
Kimmo Puputti
53903cef70 Update README 2017-01-09 11:01:03 +02:00
Kimmo Puputti
23126a60c4 Update React to 15.4.2 2017-01-09 10:29:41 +02:00
Kimmo Puputti
c14fe8efe8 Fix ServerRouter props 2017-01-05 20:57:33 +02:00
Kimmo Puputti
a6907b7139 Change directory layout 2017-01-05 20:57:29 +02:00
Kimmo Puputti
9f5f24bfee Change template syntax to work with dev mode as well 2017-01-05 20:56:43 +02:00
Kimmo Puputti
db8cde8ce0 Add clean script 2017-01-05 17:02:10 +02:00
Kimmo Puputti
15a8e85b6e Use ComponentName/index.js convention for Page 2017-01-05 17:01:48 +02:00
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