1. Frontend Setup
Quick Setup > Frontend guide.#
1) Finish the#
2) AWS API gateway configIn the API gateway, you will need to specify a stage which will scope your API endpoints. For example, you may have a stage name per dev environment:
- One for development (
/dev
) - One for testing (
/test
) - One for prod (
/prod
).
In this case, you need to set the apiGatewayPath
config param to that stage name like so:
import supertokens from "supertokens-node";
supertokens.init({ appInfo: { appName: "...", apiDomain: "...", websiteDomain: "...", apiGatewayPath: "/dev" }, recipeList: [],});