Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickemma/go-jwt

A Golang web application that provides secure user authentication and authorization using JSON Web Tokens (JWT). The application allows users to register and login securely, and verifies their identity for protected endpoints.
https://github.com/nickemma/go-jwt

bcrypt go-jwt golang postgresql

Last synced: about 5 hours ago
JSON representation

A Golang web application that provides secure user authentication and authorization using JSON Web Tokens (JWT). The application allows users to register and login securely, and verifies their identity for protected endpoints.

Awesome Lists containing this project

README

        

# go-jwt
A Golang web application that provides secure user authentication and authorization using JSON Web Tokens (JWT). The application allows users to register and login securely, and verifies their identity for protected endpoints.

## What I We Be Using?

- [Go](https://go.dev/) - Server
- [Gorm](https://gorm.io/) - The fantastic ORM library for Golang
- [Gin](https://gin-gonic.com/) - The fastest full-featured web framework for Go. Crystal clear.
- [GoDotenv](https://github.com/joho/godotenv) - A Go port of Ruby's dotenv library
- [GoBcrypt](https://pkg.go.dev/golang.org/x/crypto) - Go Cryptography for bcrypt
- [GoJwt](https://github.com/golang-jwt/jwt) - incorporates a modified version of the JWT
- [CompileDaemon](https://github.com/githubnemo/CompileDaemon) - Very simple compile daemon for Go for auto restart

## What I Learnt

- How to make a basic Go REST API
- How to create user authentication and authorization
- Basic usage of go-env and jwt-go