react-tutorial

Code from the React tutorial.

  • 所有者: reactjs/react-tutorial
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Deploy

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 /api/comments 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

Perl

cpan Mojolicious
perl server.pl

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

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

主要指標

概覽
名稱與所有者reactjs/react-tutorial
主編程語言JavaScript
編程語言CSS (語言數: 8)
平台
許可證Other
所有者活动
創建於2014-06-30 04:42:12
推送於2018-06-25 20:58:25
最后一次提交2016-10-03 11:06:17
發布數0
用户参与
星數3.3k
關注者數161
派生數2.1k
提交數164
已啟用問題?
問題數47
打開的問題數3
拉請求數53
打開的拉請求數3
關閉的拉請求數64
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?