Skip to content

2yuri/webapi-with-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WEBAPI and AUTH with GOLANG

Acesse no youtube:

API Docs

  • JSON file at docs/insomnia_file.json

Run Database

$ docker-compose up --build

Introdução

  • O que é JWT
go get github.com/dgrijalva/jwt-go
  • LGPD

Passo a passo

  • Clonar repositório base
https://github.com/hyperyuri/webapi-with-go
  • Criar usuario (model e controller)
  • Encode password para SHA256
  • Gerar JWT
  • Criar login (model e controller)
  • Criar middlewares no GIN

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published