https://github.com/peterdee/go-fiber-auth
Authentication & authorization with Golang & Fiber
https://github.com/peterdee/go-fiber-auth
auth fiber golang jwt mongodb
Last synced: 12 months ago
JSON representation
Authentication & authorization with Golang & Fiber
- Host: GitHub
- URL: https://github.com/peterdee/go-fiber-auth
- Owner: peterdee
- Created: 2020-10-09T06:06:34.000Z (over 5 years ago)
- Default Branch: stage
- Last Pushed: 2024-05-08T12:40:35.000Z (about 2 years ago)
- Last Synced: 2024-05-08T13:41:25.193Z (about 2 years ago)
- Topics: auth, fiber, golang, jwt, mongodb
- Language: Go
- Homepage: http://localhost:9119
- Size: 38.1 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## go-fiber-auth
Authentication & authorization with Golang
**Udpated version of this application is available here: https://github.com/peterdee/go-fiber-auth-2024**
Stack: [Fiber](https://gofiber.io/), [Golang](https://golang.org/), [MongoDB](https://www.mongodb.com/), [JWT](https://github.com/dgrijalva/jwt-go)
DEV: http://localhost:9119
### Deploy
```shell script
git clone https://github.com/peterdee/go-fiber-auth
cd ./go-fiber-auth
go mod download
```
### Environment variables
The `.env` file is required, see the [.env.example](.env.example) for details
### Launch (local)
```shell script
go run ./
```
Can be launched with [AIR](https://github.com/cosmtrek/air)