Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c0f05a
commit efa083e
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Password authentication in Go | ||
|
||
Read the blog post [here](https://www.sohamkamani.com/blog/2018/02/25/golang-password-authentication-and-storage/). | ||
|
||
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](/sohamkamani/go-password-auth-example/blob/master/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](/sohamkamani/go-password-auth-example/blob/master/test.http) file | ||
|