You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the React comment box example from [the React tutorial](http://facebook.github.io/react/docs/tutorial.html).
2
+
# React Comment
6
3
7
4
## To use
8
5
9
-
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:
10
-
11
-
### Node
12
-
13
6
```sh
14
7
npm install
15
8
node server.js
16
9
```
17
10
18
-
### Python
19
-
20
-
```sh
21
-
pip install -r requirements.txt
22
-
python server.py
23
-
```
24
-
25
-
### Ruby
26
-
```sh
27
-
ruby server.rb
28
-
```
29
-
30
-
### PHP
31
-
```sh
32
-
php server.php
33
-
```
34
-
35
-
### Go
36
-
```sh
37
-
go run server.go
38
-
```
39
-
40
-
### Perl
41
-
42
-
```sh
43
-
cpan Mojolicious
44
-
perl server.pl
45
-
```
46
-
47
11
And visit <http://localhost:3000/>. Try opening multiple tabs!
0 commit comments