Skip to content

Instantly share code, notes, and snippets.

Avatar
⛰️

Nick Parsons astrotars

⛰️
View GitHub Profile
View config-set.sh
$ stream config:set
$ ✔ What is your full name? · Nick Parsons
$ ✔ What is your email address associated with Stream? · nick@getstream.io
$ ✔ What is your Stream API key? · foo
$ ✔ What is your Stream API secret? · ***
$ Your Stream CLI configuration has been generated! 🚀
View channel-create.sh
$ 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.
View module.sh
module github.com/StreamSocial/go-passwordless-social
View init.sh
go mod init github.com/StreamSocial/go-passwordless-social
View mkdir.sh
mkdir go-passwordless-social
cd go-passwordless-social
View build.sql
go build -o passwordless-social .
./passwordless-social
View gin.sh
[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
View build.sql
go build -o passwordless-social .
./passwordless-social
View run.sql
go build -o passwordless-social .
./passwordless-social