This is a simple demo project as to practice combining ReactJS with ExpressJS. It also uses Bootstrap3 library for the user interface, including the responsive design to the page width. Regarding React rendering, this project uses react-tools/JSX engine to precompile JSX-syntax components in components/ directory into plain JavasSript in public/javascripts directory.
- $ git clone https://github.com/Rancho06/ReactDemo.git
- $ cd ReactDemo/
- $ (sudo) npm install
- $ npm start OR node server.js
- browser to localhost:3000.
- Always add/edit in the components/ directory.
- Install jsx engine globally by
(sudo) npm install -g react-tools
- Then, precompile jsx syntax to plain JavaScript by
jsx components/ public/javascripts
.