User registration, authentication, sessions and boilerplate.
Check the example.
This library provides user registration, authentication and session functionality.
To do this do the following things:
At the beginning of the program:
dbMigrationsusing the connection pool
initSessionStoreand get back a SessionStore
router from your routing so it will take care of the user registration, login and logout pages
loginOrLogout to welcome the user and provide links for the registration, login or logout pages
ActionMs that require a logged-in user.
and go to http://localhost:8080