Documentation ¶
Overview ¶
Example shows a basic web app with user register, login and logout capabilities. A Token (JWT) is stored in cookie. Users and sessions are managed in-memory. If the server needs a restart, the cookies must be deleted manually for everything to work smoothly again.
Disclaimer ¶
Code is not production ready. Many things would still have to be improved. Current status served only for learning purposes.
Basic abstraction over JWT token generation and validation specifically for this example web app to maintain sessions using cookies.
Disclaimer ¶
Code is not production ready. Many things would still have to be improved. Current status served only for learning purposes.
Click to show internal directories.
Click to hide internal directories.