login-go

module
v0.0.0-...-c2f928c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2020 License: Apache-2.0

README

login-go

Simple API which uses OIDC via Google for authentication and has a really, really simple mariaDB to do authorization for my applications.

codecov Build Status

Technology

  • REST backend: chi (v4.0.x), golang (1.1x)
  • frontend angular (8.x.x)
  • mariadb: 10.x

Build

The REST Api and the UI can be built separately.

UI

npm run build -- --prod --base-href /ui/

Api

Use the Makefile and call make release or create a docker image by make docker-build

Or the manual step by using go: go build

Directories

Path Synopsis
cmd
api
Package api implements the HTTP API of the login-application.
Package api implements the HTTP API of the login-application.
server
Package server defines the HTTP server and performs the setup for the API
Package server defines the HTTP server and performs the setup for the API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL