Frederic G. MARAND c5878c602d Listing 15: adding comments - create form. | před 8 roky | |
---|---|---|
public | před 8 roky | |
.editorconfig | před 8 roky | |
.eslintrc.js | před 8 roky | |
.gitignore | před 8 roky | |
LICENSE | před 8 roky | |
README.md | před 8 roky | |
comments.json | před 8 roky | |
package.json | před 8 roky | |
server.go | před 8 roky |
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