https://github.com/sachaarbonel/ninshoo
A package for dealing with user registration and authentification in go
https://github.com/sachaarbonel/ninshoo
authentification graphql jwt user-registration
Last synced: 30 days ago
JSON representation
A package for dealing with user registration and authentification in go
- Host: GitHub
- URL: https://github.com/sachaarbonel/ninshoo
- Owner: sachaarbonel
- License: mit
- Created: 2019-01-25T10:54:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T12:48:23.000Z (about 7 years ago)
- Last Synced: 2025-06-08T06:37:30.571Z (12 months ago)
- Topics: authentification, graphql, jwt, user-registration
- Language: Go
- Homepage:
- Size: 151 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github.com/Sach97/ninshoo
A package for dearling with user registration and authentification in go
WIP.
## Instructions
First
```shell
source .env
```
## TODOs
- [x] replace .env logic with config.toml where necessary
- [x] create jwt
- [ ] strategy pattern at the root for choosing between Rest or Graphql
- [ ] create roles through jwt and test it on hasura
- [x] create middleware
- [x] create a boilerplate in graphql with gqlgen (chi, mux)
- [ ] create a rest boilerplate using different routers (chi, mux)
- [ ] update examples with .gitlab-ci.yaml for CI/CD integrations with kubernetes
- [ ] tests
## Inspirations
This package is inspired by :
- [gotrue](https://github.com/netlify/gotrue)
- [go-graphql-starter](https://github.com/OscarYuen/go-graphql-starter/issues/22)