pye/README.md

38 lines
1.1 KiB
Markdown
Raw Normal View History

2024-10-12 16:59:47 +03:00
# Auth microservice
2024-10-11 11:38:08 +03:00
2024-10-11 23:57:57 +03:00
**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.
2024-10-12 09:55:58 +03:00
This should be done by **October 17th 2024**. Or, at the very least,
in a state that proves I am competent Go developer.
2024-10-11 23:57:57 +03:00
2024-10-13 16:38:13 +03:00
## Usage
2024-10-12 10:22:05 +03:00
2024-10-13 16:38:13 +03:00
```
Usage:
pye [command]
2024-10-12 22:31:07 +03:00
2024-10-13 16:38:13 +03:00
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
2024-10-12 21:45:00 +03:00
2024-10-13 16:38:13 +03:00
Flags:
-c, --config string config file (default "config.json")
--db string database to use
-d, --debug enable debug mode
-h, --help help for pye
2024-10-12 21:45:00 +03:00
2024-10-13 16:38:13 +03:00
Use "pye [command] --help" for more information about a command.
```
2024-10-12 21:45:00 +03:00
2024-10-13 16:38:13 +03:00
## Technologies used
* **Storage** - [SQLite](https://github.com/mattn/go-sqlite3) and a PEM file
2024-10-13 16:51:29 +03:00
* **HTTP routing** - [Chi](https://go-chi.io), just for logging...
2024-10-13 16:38:13 +03:00
* **CLI management** - [Cobra](https://cobra.dev/)