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

https://github.com/shikharcodess/goauth

Authorization+Authentication service in Golang
https://github.com/shikharcodess/goauth

authentication authorization jwt-authentication mongodb

Last synced: 5 months ago
JSON representation

Authorization+Authentication service in Golang

Awesome Lists containing this project

README

          


GoAuth Logo

GoAuth


Authorization+Authentication service in Golang
A backend API service in Golang that handles authorization and authentication for a web app



## File Structure

```
📦backend
┣ 📂api
┃ ┣ 📜README.md
┃ ┣ 📜docs.go
┃ ┣ 📜swagger.json
┃ ┗ 📜swagger.yaml
┣ 📂cmd
┃ ┣ 📂configs
┃ ┃ ┣ 📜cache.go
┃ ┃ ┣ 📜db.go
┃ ┃ ┗ 📜env.go
┃ ┣ 📂controllers
┃ ┃ ┗ 📂controller_v1
┃ ┃ ┃ ┣ 📜admin.go
┃ ┃ ┃ ┗ 📜user.go
┃ ┣ 📂handlers
┃ ┃ ┣ 📜cache.go
┃ ┃ ┣ 📜database.go
┃ ┃ ┗ 📜handler.go
┃ ┣ 📂middleware
┃ ┃ ┣ 📜jwt.go
┃ ┃ ┗ 📜role.go
┃ ┣ 📂models
┃ ┃ ┗ 📜models.go
┃ ┣ 📂routes
┃ ┃ ┗ 📂routes_v1
┃ ┃ ┃ ┣ 📜admin.go
┃ ┃ ┃ ┗ 📜user.go
┃ ┣ 📂utils
┃ ┃ ┣ 📜examiners.go
┃ ┃ ┗ 📜helpers.go
┃ ┗ 📜main.go
┣ 📂deployments
┃ ┣ 📜Dockerfile
┃ ┣ 📜README.md
┃ ┗ 📜db-docker-compose.yaml
┣ 📂docs
┃ ┗ 📜README.md
┣ 📂test
┃ ┣ 📜admin_unit_test.md
┃ ┗ 📜user_unit_test.md
┣ 📜.editorconfig
┣ 📜.env
┣ 📜.gitignore
┣ 📜README.md
┣ 📜go.mod
┗ 📜go.sum
```

# Documentation

For Documentation, [Click Here](https://github.com/ShikharY10/goauth/tree/main/docs)