|
|
il y a 9 ans | |
|---|---|---|
| public | il y a 9 ans | |
| .editorconfig | il y a 9 ans | |
| .eslintrc.js | il y a 9 ans | |
| .gitignore | il y a 9 ans | |
| LICENSE | il y a 9 ans | |
| README.md | il y a 9 ans | |
| comments.json | il y a 9 ans | |
| package.json | il y a 9 ans | |
| server.go | il y a 9 ans |
This is the React comment box example from the React tutorial.
go run server.go
And visit http://vm:3000/ assuming you host is called vm. Try opening multiple tabs!
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