Authentification microservice, ostensibly
Find a file
2024-10-12 18:39:38 +03:00
.gitignore Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
auth.go Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
db.go Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
go.mod Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
go.sum Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
jwt.go Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
main.go Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
Makefile Add encryption experiments 2024-10-11 23:57:57 +03:00
README.md Replace JSON with SQLite 2024-10-12 18:39:38 +03:00
user.go Replace JSON with SQLite 2024-10-12 18:39:38 +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.

Current functionality

  • Port 7102
  • POST /register - register a user with Basic Auth
  • POST /login - get a JWT token by Basic Auth
  • GET /pem - get PEM-encoded public RS256 key
  • Data persistently stored in an SQLite database data.db (requires creation of empty db)
  • RS256 key loaded from private.key file or generated on startup if missing