38 lines
No EOL
1.1 KiB
Markdown
38 lines
No EOL
1.1 KiB
Markdown
# 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](https://github.com/mattn/go-sqlite3) and a PEM file
|
|
* **HTTP routing** - [Chi](https://go-chi.io), just for logging...
|
|
* **CLI management** - [Cobra](https://cobra.dev/) |