Skip to content

A simple development boilerplate for Go (Golang) + React using gulp + webpack-dev-server

Notifications You must be signed in to change notification settings

mewben/go-react-project

Repository files navigation

Go-React-Project

Go (Golang) + React Project development using Gulp + webpack-dev-server

(UPDATE 2017)

This repo is not maintained anymore. I now use create-react-app for react, and a different repo for golang as API server.

Pre Installation

Installation

  1. Clone this repository.
  git clone https://github.com/mewben/go-react-project.git <project-name>
  cd <project-name>
  1. Edit glide.yaml. Change the project name

  2. Install the dependencies.

  npm install
  glide install
  1. Run dev

npm start

The server runs at http://localhost:8081 by default.

The client at http://localhost:8082.

Configuration

./env.json - You can set a different port and postgresql connection settings

Build

This compiles your .js files into public/assets/js/

npm run build

Uses

About

A simple development boilerplate for Go (Golang) + React using gulp + webpack-dev-server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published