The documentation at https://docs.amplify.aws/nextjs/deploy-and-host/fullstack-branching/monorepos/ seems incomplete and confusing.
- The screenshot under
Deploy backend apphas textshared-backendin the "monorepo root directory" box. Which seems incorrect as the path to the backend project according to the example should bepackages/my-shared-backend(IIUC). - It says the build settings would be automatically detected. However, it thinks the backend is a "next.js" project, where as it only has Amplify generated code. It would be good to elaborate what to expect on this page. The page populates a "Front end build command" and a "build output directory". This is confusing as this is amplify code only. What should the build commands be, for this project?
- Also, please provide some context as to why we need to use "ampx generate outputs" command in a monorepo
- How do we test the app in a sandbox when the app is in a monorepo?