Skip to content

davidpsteinman/go-reactjs-example

 
 

Repository files navigation

go-reactjs-example

This is an exmple web use Golang(macaron) And ReactJS

A real world project use go and reactjs. example: file-server

Build

Suggest install node through nvm

npm install -g webpack
npm install
make prod

Develop

Your need to know what is react, and golang. In develop mode, Support react hot reload

npm install
make dev

Open another terminal

go run main.go

Open browser, navgate to http://localhost:8000

Edit file public/HelloWorld.jsx Can see live change.

Good luck. ^0^

Thanks

  1. http://segmentfault.com/a/1190000002551952
  2. update package.json dependencies
  3. react hot reload QA

About

This is an exmple web use Golang And ReactJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 43.1%
  • JavaScript 43.1%
  • Makefile 12.8%
  • CSS 1.0%