jcyhsiao / react-tutorial-practice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Tutorial

This is the React comment box example from the React tutorial.

To use

There are several simple server implementations included. They all serve static files from public/ and handle requests to comments.json to fetch or add data. Start a server with one of the following:

Node

npm install
node server.js

Python

pip install -r requirements.txt
python server.py

Ruby

ruby server.rb

PHP

php server.php

Go

go run server.go

And visit http://localhost:3000/. Try opening multiple tabs!

About


Languages

Language:Go 27.3%Language:JavaScript 16.1%Language:Python 13.6%Language:Ruby 12.8%Language:PHP 11.5%Language:HTML 10.3%Language:CSS 8.5%