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

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

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)