Authentification microservice, ostensibly
Find a file
2024-10-13 17:33:59 +03:00
auth Improve config and comments 2024-10-13 17:33:59 +03:00
cmd Improve config and comments 2024-10-13 17:33:59 +03:00
config Improve config and comments 2024-10-13 17:33:59 +03:00
logging Adjust variable naming 2024-10-13 17:18:53 +03:00
storage Improve config and comments 2024-10-13 17:33:59 +03:00
.gitignore Improve initial loading 2024-10-13 16:38:13 +03:00
config.json Add subcommand to find a user 2024-10-13 14:49:41 +03:00
go.mod Switch to chi and improve logs 2024-10-13 16:51:29 +03:00
go.sum Switch to chi and improve logs 2024-10-13 16:51:29 +03:00
main.go Move to Cobra for CLI 2024-10-13 16:16:19 +03:00
Makefile Improve initial loading 2024-10-13 16:38:13 +03:00
README.md Switch to chi and improve logs 2024-10-13 16:51:29 +03:00

Auth microservice

Mission: Science compels us to create a microservice!

This is the repository for my JWT auth microservice assignment with(out) blazingly fast cloud-native web3 memory-safe blockchain reactive AI (insert a dozen more buzzwords of your choosing) technologies.

This should be done by October 17th 2024. Or, at the very least, in a state that proves I am competent Go developer.

Usage

Usage:
  pye [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  find        Find a user
  help        Help about any command
  serve       Start JWT service
  verify      Verify a JWT token

Flags:
  -c, --config string   config file (default "config.json")
      --db string       database to use
  -d, --debug           enable debug mode
  -h, --help            help for pye

Use "pye [command] --help" for more information about a command.

Technologies used

  • Storage - SQLite and a PEM file
  • HTTP routing - Chi, just for logging...
  • CLI management - Cobra