Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterdee/2fa-backend
Backend application for 2FA Mobile
https://github.com/peterdee/2fa-backend
2fa 2fa-mobile fiber golang gorm jwt postgresql
Last synced: about 1 month ago
JSON representation
Backend application for 2FA Mobile
- Host: GitHub
- URL: https://github.com/peterdee/2fa-backend
- Owner: peterdee
- License: mit
- Created: 2022-06-19T18:32:24.000Z (over 2 years ago)
- Default Branch: release
- Last Pushed: 2022-08-20T11:33:00.000Z (over 2 years ago)
- Last Synced: 2023-03-03T23:44:00.218Z (almost 2 years ago)
- Topics: 2fa, 2fa-mobile, fiber, golang, gorm, jwt, postgresql
- Language: Go
- Homepage: https://backend2fa.herokuapp.com
- Size: 465 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## 2FA Backend
Backend application for [2FA Mobile](https://github.com/peterdee/2fa-mobile)
Stack: [Golang](https://golang.org), [Fiber](https://gofiber.io), [GORM](https://gorm.io)
Development: http://localhost:2244
Heroku: https://backend2fa.herokuapp.com
### Deploy
```shell script
git clone https://github.com/peterdee/2fa-backend
cd ./2fa-backend
gvm use go1.18
go mod download
```### Environment variables
The `.env` file is required for all of the environments except for Heroku, see [.env.example](.env.example) for details
### Launch
```shell script
go run ./
```Can be launched with [AIR](https://github.com/cosmtrek/air)
### Heroku
The `release` branch is automatically deployed to Heroku
### License
[MIT](LICENSE.md)