Skip to content

ersefuril/play-framework-react-isomorphic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-framework-react-isomorphic

A sample seed project to render React on the server side. It will run a small ReactJS app displaying a list of posts. This project is based on Play Framework, ReactJS and NodeJS.

Here are the slides of the related presentation: Isomorphic Apps with React

First, build frontend :

  • cd frontend
  • npm install
  • gulp

Then, build and run backend :

  • cd backend
  • activator
  • ~ run 9010

Finally, run node js server :

  • cd ssr
  • npm install
  • node index.js

Demo page

Just access to http://localhost:9010/post and pass serverquery parameter to launch the demo :

  • http://localhost:9010/post : no server rendering
  • http://localhost:9010/post?server=nashorn : server rendering using Nashorn
  • http://localhost:9010/post?server=node : server rendering using Node

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages