Skip to content

Instantly share code, notes, and snippets.

View astrotars's full-sized avatar
⛰️

Nick Parsons astrotars

⛰️
View GitHub Profile
$ stream config:set
$ ✔ What is your full name? · Nick Parsons
$ ✔ What is your email address associated with Stream? · [email protected]
$ ✔ What is your Stream API key? · foo
$ ✔ What is your Stream API secret? · ***
$ Your Stream CLI configuration has been generated! 🚀
$ stream chat:channel:create
$ ✔ What is the unique identifier for the channel? · stream-chat
$ ✔ What type of channel is this? · messaging
$ ✔ What is the absolute URL to the channel image? · https://avatars3.githubusercontent.com/u/8597527
$ Channel stream-chat has been created.
module github.com/StreamSocial/go-passwordless-social
go mod init github.com/StreamSocial/go-passwordless-social
mkdir go-passwordless-social
cd go-passwordless-social
go build -o passwordless-social .
./passwordless-social
[GIN] 2019/02/12 - 13:58:02 | 200 | 993.2µs | 2001:985:d3bc:1:6507:df25:e1b8:95f2 | POST /webauthn/start
[GIN] 2019/02/12 - 13:58:24 | 201 | 157.8428ms | 2001:985:d3bc:1:6507:df25:e1b8:95f2 | POST /webauthn/registration/finish
ngrok http 8080
go build -o passwordless-social .
./passwordless-social
go build -o passwordless-social .
./passwordless-social