Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
static
templates
.env
.env.example
.gitignore
Gopkg.lock
Gopkg.toml
Procfile
README.md
auth.go
http.go
mailing.go
main.go
schema.pg.sql
schema.sql
user.go
validation.go

README.md

Blog posts:


Install Go and CockroachDB. Go to mailtrap.io and create an account. Save your SMTP server credentials into the .env file.

Get the code:

go get -u github.com/nicolasparada/go-passwordless-demo

Start a Cockroach instance:

cockroach start --insecure --host 127.0.0.1

Create schema and run:

cat schema.sql | cockroach sql --insecure
go-passwordless-demo