Skip to content

Learn GO by projects - A small makeshift UAA server

Notifications You must be signed in to change notification settings

realbucksavage/miniauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge

MiniAuth - A small UAA server implemented in go.


Installation

For now, this project depends on a static PSQL config.

PSQL

Pull from Docker

$ docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres
$ docker exec -it postgres psql -U postgres

Set up user and DB.

CREATE DATABASE miniauth;
CREATE USER miniauth WITH ENCRYPTED PASSWORD 'miniauth';
GRANT ALL PRIVILEGES ON DATABASE miniauth TO miniauth; 

Clone and run

$ git clone [email protected]:realbucksavage/miniauth
$ cd miniauth
$ dep ensure
$ go run main.go

About

Learn GO by projects - A small makeshift UAA server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages