Skip to content

nicrocs/react-tutorial

 
 

Repository files navigation

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.

webpack

or

npm build

Changing the port

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

PORT=3001 node server.js

About

React Questions Code Sample

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.4%
  • CSS 9.7%
  • HTML 1.9%