Implementation of simple password authentication in Go
Branch: master
Clone or download
Latest commit efa083e Feb 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md add readme Feb 25, 2018
handlers.go Working example Feb 25, 2018
main.go Working example Feb 25, 2018
test.http Working example Feb 25, 2018
users.sql Working example Feb 25, 2018

README.md

Password authentication in Go

Read the blog post here.

This repository is an implementation of simple password based authentication and storage in Go. Passwords are stored in a Postgres DB instance.

To run the application:

  • Create a postgres DB and a users table using the users.sql.
  • Start the application with the commands: go build and ./go-password-auth-example
  • Test the application with the requests in the test.http file