https://github.com/mrinjamul/mrinjamul-auth
A asymmetric JWT based authentication service for user management.
https://github.com/mrinjamul/mrinjamul-auth
Last synced: about 1 year ago
JSON representation
A asymmetric JWT based authentication service for user management.
- Host: GitHub
- URL: https://github.com/mrinjamul/mrinjamul-auth
- Owner: mrinjamul
- License: mit
- Created: 2022-08-04T19:23:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-18T12:45:03.000Z (almost 3 years ago)
- Last Synced: 2025-01-23T12:15:42.476Z (over 1 year ago)
- Language: Go
- Homepage: https://authie.herokuapp.com
- Size: 203 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
mrinjamul auth
A asymmetric JWT based authentication service for user management.
### Requirements
- [Golang](https://golang.org/dl/)
- [Docker](https://docs.docker.com/get-docker/) (Optional but recommended)
- [Postgresql](https://www.postgresql.org/download/) (**Only if you are not using `docker`**)
### Development
To get started, you can clone the repository and run the following commands:
```bash
git clone https://github.com/mrinjamul/mrinjamul-auth.git
```
To install the dependencies, run the following commands:
```bash
cd mrinjamul-auth
go mod download
```
Copy environment variables file and replace the values with your own.
```bash
cp .env.example .env
```
Generate OpenAPI spec:
```bash
swag init --parseDependency --parseInternal
# swag init --parseDependency --parseInternal -g main.go
```
To run the application, run the following commands:
```bash
export $(cat .env | xargs)
go build
./mrinjamul-auth
```
### Contributing
See the [contributing guide](CONTRIBUTING.md) for more information.
### License
- open sourced under the [MIT license](LICENSE)
Copyright (c) 2022 mrinjamul@gmail.com