This is a simple test for creating an isomorphic React application.
With Node.js installed:
- Install dependencies with
npm install
- Build the client bundle with
npm run build
- Start the server with
npm start
(you can specify a port withPORT=4321 npm start
)
You can now load the app and add and remove todos (warning: this is very rudimentary). You can curl
the URL and see that the server correctly renders the content.