Skip to content

Starting point for websites with go/iris/reactjs/webpack/hot-reload

License

Notifications You must be signed in to change notification settings

vtrifonov/go-iris-reactjs-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#go-iris-reactjs-webpack

Starting template for websites with Golang backend, Iris and ReactJS with webpack and hot reload. In addition to that, go-bindata is used in the production mode.

Borrowed a lot of ideas from https://github.com/codeskyblue/go-reactjs-example

Development

To setup the development environment

npm install -g webpack
npm install
make dev

Now open VSCode and start debugging
Open in your browser the following url: http://127.0.0.1:8080vv Edit file app/containers/app.jsx and the site should refresh and you should see your changes immediately.

Production

To prepare the site for production, just run the following command

make prod

Now you can start the production ready site

go run main.go

Thanks

https://github.com/codeskyblue/go-reactjs-example

About

Starting point for websites with go/iris/reactjs/webpack/hot-reload

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published