GitHub / wpcodevo / go-postgres-jwt-auth-api
In this article, you will learn how to implement authentication and role-based authorization in Golang using JSON Web Tokens (JWT).
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fgo-postgres-jwt-auth-api
PURL: pkg:github/wpcodevo/go-postgres-jwt-auth-api
Stars: 1
Forks: 0
Open issues: 0
License: None
Language: Go
Size: 15.6 KB
Dependencies parsed at:
123
Created at: about 1 year ago
Updated at: about 1 year ago
Pushed at: about 1 year ago
Last synced at: about 1 month ago
Topics: authentication, authorization, fiber-framework, go, golang, gorm, jwt, postgresql
Funding Links https://github.com/sponsors/wpcodevo
- dpage/pgadmin4 latest
- postgres latest
- github.com/andybalholm/brotli v1.0.5
- github.com/fsnotify/fsnotify v1.7.0
- github.com/gabriel-vasile/mimetype v1.4.3
- github.com/go-playground/locales v0.14.1
- github.com/go-playground/universal-translator v0.18.1
- github.com/go-playground/validator/v10 v10.22.1
- github.com/gofiber/fiber/v2 v2.52.5
- github.com/golang-jwt/jwt v3.2.2+incompatible
- github.com/google/uuid v1.6.0
- github.com/hashicorp/hcl v1.0.0
- github.com/jackc/pgpassfile v1.0.0
- github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a
- github.com/jackc/pgx/v5 v5.5.5
- github.com/jackc/puddle/v2 v2.2.1
- github.com/jinzhu/inflection v1.0.0
- github.com/jinzhu/now v1.1.5
- github.com/klauspost/compress v1.17.2
- github.com/leodido/go-urn v1.4.0
- github.com/magiconair/properties v1.8.7
- github.com/mattn/go-colorable v0.1.13
- github.com/mattn/go-isatty v0.0.20
- github.com/mattn/go-runewidth v0.0.15
- github.com/mitchellh/mapstructure v1.5.0
- github.com/pelletier/go-toml/v2 v2.2.2
- github.com/rivo/uniseg v0.2.0
- github.com/sagikazarmark/locafero v0.4.0
- github.com/sagikazarmark/slog-shim v0.1.0
- github.com/sourcegraph/conc v0.3.0
- github.com/spf13/afero v1.11.0
- github.com/spf13/cast v1.6.0
- github.com/spf13/pflag v1.0.5
- github.com/spf13/viper v1.19.0
- github.com/subosito/gotenv v1.6.0
- github.com/valyala/bytebufferpool v1.0.0
- github.com/valyala/fasthttp v1.51.0
- github.com/valyala/tcplisten v1.0.0
- go.uber.org/atomic v1.9.0
- go.uber.org/multierr v1.9.0
- golang.org/x/crypto v0.21.0
- golang.org/x/exp v0.0.0-20230905200255-921286631fa9
- golang.org/x/net v0.23.0
- golang.org/x/sync v0.8.0
- golang.org/x/sys v0.18.0
- golang.org/x/text v0.19.0
- gopkg.in/ini.v1 v1.67.0
- gopkg.in/yaml.v3 v3.0.1
- gorm.io/driver/postgres v1.5.9
- gorm.io/gorm v1.25.12
- github.com/andybalholm/brotli v1.0.5
- github.com/davecgh/go-spew v1.1.0
- github.com/davecgh/go-spew v1.1.1
- github.com/fsnotify/fsnotify v1.7.0
- github.com/gabriel-vasile/mimetype v1.4.3
- github.com/go-playground/locales v0.14.1
- github.com/go-playground/universal-translator v0.18.1
- github.com/go-playground/validator/v10 v10.22.1
- github.com/gofiber/fiber/v2 v2.52.5
- github.com/golang-jwt/jwt v3.2.2+incompatible
- github.com/google/uuid v1.5.0
- github.com/google/uuid v1.6.0
- github.com/hashicorp/hcl v1.0.0
- github.com/jackc/pgpassfile v1.0.0
- github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a
- github.com/jackc/pgx/v5 v5.5.5
- github.com/jackc/puddle/v2 v2.2.1
- github.com/jinzhu/inflection v1.0.0
- github.com/jinzhu/now v1.1.5
- github.com/klauspost/compress v1.17.0
- github.com/klauspost/compress v1.17.2
- github.com/leodido/go-urn v1.4.0
- github.com/magiconair/properties v1.8.7
- github.com/mattn/go-colorable v0.1.13
- github.com/mattn/go-isatty v0.0.16
- github.com/mattn/go-isatty v0.0.20
- github.com/mattn/go-runewidth v0.0.15
- github.com/mitchellh/mapstructure v1.5.0
- github.com/pelletier/go-toml/v2 v2.2.2
- github.com/pmezard/go-difflib v1.0.0
- github.com/rivo/uniseg v0.2.0
- github.com/sagikazarmark/locafero v0.4.0
- github.com/sagikazarmark/slog-shim v0.1.0
- github.com/sourcegraph/conc v0.3.0
- github.com/spf13/afero v1.11.0
- github.com/spf13/cast v1.6.0
- github.com/spf13/pflag v1.0.5
- github.com/spf13/viper v1.19.0
- github.com/stretchr/objx v0.1.0
- github.com/stretchr/objx v0.4.0
- github.com/stretchr/objx v0.5.0
- github.com/stretchr/objx v0.5.2
- github.com/stretchr/testify v1.3.0
- github.com/stretchr/testify v1.7.0
- github.com/stretchr/testify v1.7.1
- github.com/stretchr/testify v1.8.0
- github.com/stretchr/testify v1.8.4
- github.com/stretchr/testify v1.9.0
- github.com/subosito/gotenv v1.6.0
- github.com/valyala/bytebufferpool v1.0.0
- github.com/valyala/fasthttp v1.51.0
- github.com/valyala/tcplisten v1.0.0
- go.uber.org/atomic v1.9.0
- go.uber.org/multierr v1.9.0
- golang.org/x/crypto v0.19.0
- golang.org/x/crypto v0.21.0
- golang.org/x/exp v0.0.0-20230905200255-921286631fa9
- golang.org/x/net v0.21.0
- golang.org/x/net v0.23.0
- golang.org/x/sync v0.8.0
- golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab
- golang.org/x/sys v0.6.0
- golang.org/x/sys v0.15.0
- golang.org/x/sys v0.17.0
- golang.org/x/sys v0.18.0
- golang.org/x/text v0.14.0
- golang.org/x/text v0.19.0
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
- gopkg.in/ini.v1 v1.67.0
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
- gopkg.in/yaml.v3 v3.0.1
- gorm.io/driver/postgres v1.5.9
- gorm.io/gorm v1.25.12