Commit graph

20 commits

Author SHA1 Message Date
Kimmo Puputti
3f4bc073d4 Fix routers and server context 2017-02-14 10:48:10 +02:00
Kimmo Puputti
be2fcdf793 Import from react-router-dom instead of react-router 2017-02-14 09:43:37 +02:00
Vesa Luusua
bc2baaf3b5 Refactoring to improve readability, compatibility with saga and comments 2017-02-07 13:13:08 +02:00
Vesa Luusua
b937f3fd57 Refactor saga code in ducks files and add sdk as parameter. 2017-02-06 12:40:47 +02:00
Vesa Luusua
2a9c9e103b Fetch data with saga (both server and client) 2017-02-06 12:40:42 +02:00
Vesa Luusua
3c597ea2cf Template function didn't understood stuff inside script tags. 2017-02-06 12:32:59 +02:00
Vesa Luusua
71ab7c33e0 Call component.loadData on server side (and client) 2017-02-06 12:32:59 +02:00
Vesa Luusua
13e03a3c92 Refactoring code and improving documentation 2017-01-20 15:07:15 +02:00
Vesa Luusua
1fa70eadf2 Pass preloaded state to client side. 2017-01-20 15:02:54 +02:00
Kimmo Puputti
f6ca7da23c Format code with Prettier 2017-01-18 13:54:52 +02:00
Kimmo Puputti
9fb2495af8 Add basic auth for production mode 2017-01-16 15:15:47 +02:00
Kimmo Puputti
70bab66511 Fix port -> PORT env var 2017-01-16 15:15:47 +02:00
Kimmo Puputti
f97c1f1498 Add gzip compression middleware to the express server 2017-01-16 15:15:47 +02:00
Kimmo Puputti
7c2ceaf41f Print URL to open dev server in a browser 2017-01-13 14:44:19 +02:00
Kimmo Puputti
ef66a19e20 Use the helmet security middleware 2017-01-13 13:41:04 +02:00
Kimmo Puputti
0fc9222976 Add missing semicolon 2017-01-13 13:41:04 +02:00
Kimmo Puputti
ba3418c661 Add documentation 2017-01-09 11:54:38 +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
83f80b6950 Implement page title handling with SSR support using react-helmet 2017-01-05 17:01:14 +02:00
Kimmo Puputti
6f93d85a7d Render application in the server 2017-01-05 14:22:40 +02:00