guusvw / react-base

React + Go application template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Base

This is a base sample project for a minimal React + Go application. It uses Semantic UI for the UI toolkit.

Prerequisites

You must have the following:

  • npm (tested on v0.12.3)
  • go (tested with 1.5)

Setup

To get started, clone the repo and run:

make dev-setup

That will take a while as it has to get the npm dependencies and build the native libs for media and JS compilation.

After that finishes, you should be able to run the following to build the project:

make

That should compile the media, js and build the Go binary. Once finished, you can run the following to start the server:

./cmd/react-base serve

You should then be able to visit http://localhost:8080 to see the app.

About

React + Go application template


Languages

Language:JavaScript 75.7%Language:Makefile 9.6%Language:Go 8.8%Language:CSS 3.0%Language:HTML 2.8%