Skip to content

JECSand/go_frontend_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-frontend-boilerplate

boilerplate for golang frontend development

Setup

1- Ensure a non-root user is setup with password-less sudo powers

2- Clone this repo

$ git clone https://gitlab.synercloud.io/general/golang-frontend-boilerplate.git
$ cd golang-frontend-boilerplate

Installation

1- Ubuntu Linux:

  • Run Setup and Install Scripts
$ . ./setup.sh

Configure

1- copy conf.json.example

$ cp conf.json.example conf.json
$ vi conf.json

2- open conf.json in a text editor and edit json settings as needed

Test

$ go test ./src/spa_app/cmd/app

Run

Development

$ go build ./src/spa_app/cmd/app
$ ./app
$ curl http://localhost:8080

Production

1- Start App

$ sh start.sh
$ curl http://localhost:8080

2- Stop App

$ sh stop.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published