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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?