Skip to main content

1. Frontend Setup

1) Finish the Quick Setup > Frontend guide.#

2) AWS API gateway config#

In 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:

appInfo: {    appName: "...",    apiDomain: "...",    websiteDomain: "...",    apiGatewayPath: "/dev" }
  • Learn more about apiGatewayPath here
  • An example of this can be found here