From a top level point of view you want to do the following:
- Add SuperTokens to your backend layer using our backend SDKs and initialise the email password recipe
- Implement route protection and automatic session refreshing using the SuperTokens frontend SDKs and initialise the email password recipe
To know more visit the documentation here:
https://supertokens.com/docs.
Here is an example of how to add email password login to your app: