Skip to content

alfonsodev/golang-web-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Golang web seed

This project is a basic starting point for building a website in golang without frameworks, but with small packages for each functionallity.

Features

Configuration

The app is configured with the following environment variables. In order to obtain google client: id, secret and redirect url, you'll need to viist your developer console

Mandatory

  • GOOGLE_CLIENT_ID=000000000000-00000000000000000000000000000000.apps.googleusercontent.com
  • GOOGLE_CLIENT_SECRET=000000000000000000000000
  • GOOGLE_CLIENT_REDIRECT=http://localhost:3000/callback

Optional

  • SGW_PORT Port where the application will listen for connection, defaults to 3000
  • SGW_SESSION Session name, defaults to sgw

About

Starting point for a golang website with templates, routing, session, middleware and google signin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published