We will add all the backend APIs for auth on
/api/auth. This can be changed by setting the
apiBasePath property in the
appInfo object in the
appInfo.js file. For the rest of this page, we will assume you are using
1) Create the
- Be sure to create the
authfolder in the
[[...path]].jswill use the middleware exposed by
supertokens-nodewhich exposes all the APIs like sign in, sign up etc..
- An example of this can be found here.
If you are now able to sign in or sign up, this means the backend setup is done correctly! If not, please feel free to ask questions on Discord