Implement login resolver (#15)

* add sign_up_method to users table

* add session store

* implement login resolver
This commit is contained in:
Lakhan Samani
2021-07-15 00:13:19 +05:30
committed by GitHub
parent 336fe10ca4
commit 27264c6e29
20 changed files with 874 additions and 884 deletions

View File

@@ -4,13 +4,18 @@ go 1.16
require (
github.com/99designs/gqlgen v0.13.0 // indirect
github.com/gin-gonic/gin v1.7.2 // indirect
github.com/go-redis/redis/v8 v8.11.0 // indirect
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
github.com/jackc/pgproto3/v2 v2.1.0 // indirect
github.com/joho/godotenv v1.3.0 // indirect
github.com/mattn/go-sqlite3 v1.14.7 // indirect
github.com/rs/cors v1.8.0 // indirect
github.com/vektah/gqlparser/v2 v2.1.0 // indirect
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
golang.org/x/text v0.3.6 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v9 v9.29.1 // indirect
gorm.io/driver/mysql v1.1.1 // indirect
gorm.io/driver/postgres v1.1.0 // indirect
gorm.io/driver/sqlite v1.1.4 // indirect