GitHub - nicrocs/react-tutorial: React Questions Code Sample

React Question

This is questions/form builder example based on the React tutorial.

To use

There are several simple server implementations included. They all serve static files from public/ and handle requests to /api/questions to fetch or add data. Start a server with Node:

Node

npm install
node server.js

And visit http://localhost:3000/.

Webpack

This project is using webpack to bundle javascript files.

or

Changing the port

You can change the port number by setting the $PORT environment variable before invoking any of the scripts above, e.g.,