Learning ReactJS

Frederic G. MARAND a7b6e49cb6 Listing 13: fetching data from API. vor 8 Jahren
public a7b6e49cb6 Listing 13: fetching data from API. vor 8 Jahren
.editorconfig 6f1481419b First step: copy files from official repo, configure ESLint. vor 8 Jahren
.eslintrc.js a7b6e49cb6 Listing 13: fetching data from API. vor 8 Jahren
.gitignore 6f1481419b First step: copy files from official repo, configure ESLint. vor 8 Jahren
LICENSE 6f1481419b First step: copy files from official repo, configure ESLint. vor 8 Jahren
README.md 6f1481419b First step: copy files from official repo, configure ESLint. vor 8 Jahren
comments.json 6f1481419b First step: copy files from official repo, configure ESLint. vor 8 Jahren
package.json 6f1481419b First step: copy files from official repo, configure ESLint. vor 8 Jahren
server.go 6f1481419b First step: copy files from official repo, configure ESLint. vor 8 Jahren

README.md

react-intro : Learning ReactJS

This is the React comment box example from the React tutorial.

Installing

go run server.go

And visit http://vm:3000/ assuming you host is called vm. 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

Parts taken from: