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
- Host: GitHub
- URL: https://github.com/shikharcodess/goauth
- Owner: shikharcodess
- Created: 2024-08-27T06:43:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T06:55:48.000Z (almost 2 years ago)
- Last Synced: 2025-07-05T09:38:49.698Z (12 months ago)
- Topics: authentication, authorization, jwt-authentication, mongodb
- Language: Go
- Homepage:
- Size: 217 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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)