diff --git a/README.md b/README.md index f602045..d39f102 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,14 @@ with(out) blazingly fast cloud-native web3 memory-safe blockchain reactive AI This should be done by **October 17th 2024**. Or, at the very least, in a state that proves I am competent Go developer. -Note: **JSON** is used for storage at proof-of-concept stage for ease of use +Note: **JSON** is used for storage at proof-of-concept stage for ease of use, +obviously I'd use **SQL** for production ## Current functionality +* Port 7102 * `POST /register` - register a user with Basic Auth * `POST /login` - get a JWT token by Basic Auth -* `GET /public-key` - get PEM-encoded public HS256 key \ No newline at end of file +* `GET /public-key` - get PEM-encoded public HS256 key +* Data persistently stored in... `data.json`, for convenience +* HS256 key loaded from `key` file or generated on startup if missing \ No newline at end of file diff --git a/main.go b/main.go index f7bd9ef..83fd878 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( ) func main() { - fmt.Println("=== PYE ===") + fmt.Println("=== Working on port 7102 ===") router := http.NewServeMux()