Skip to content

apprentice3d/forge-go-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forge-go-template

Build Status Go Report Card Platforms

Forge API: oAuth2 Viewer OSS Model-Derivative

forge-go-template is a simple working boilerplate for Forge projects served by Go.

Setup

Set the FORGE_CLIENT_ID and FORGE_CLIENT_SECRET environment variables with your Forge secrets.

Grab the zip archive from the releases page and un-archive it into a favorite folder.

If you have Go already setup, and you want to build it by yourself, run:

go get -u github.com/apprentice3d/forge-go-template

change to created/updated directory:

cd $GOPATH/src/github.com/apprentice3d/forge-go-template

and start it by running

go run main.go

or build it by running

go build

Usage

This app will find an available port and startusing it.

To start the app just run the forge-go-template executable.

If everything setup, you should see a terminal window like this:

meaning the web app can be accessed at http://localhost:3000, but replace 3000 with the port number the app will mention.

with following workflow:

About

Simple boilerplate for Forge projects on Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published