|
|
vor 9 Jahren | |
|---|---|---|
| public | vor 9 Jahren | |
| .editorconfig | vor 9 Jahren | |
| .eslintrc.js | vor 9 Jahren | |
| .gitignore | vor 9 Jahren | |
| LICENSE | vor 9 Jahren | |
| README.md | vor 9 Jahren | |
| comments.json | vor 9 Jahren | |
| package.json | vor 9 Jahren | |
| server.go | vor 9 Jahren |
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