I am creating an Angular project to use AWS AppSync by Amplify. I noticed that every time I create a new project, Amplify has to create a new AppSync API, which is inconvenient for development.
I read Amplify documents, they suggested using Codegen. But I got an error when running this command
$ amplify add codegen --appId XXXXXXXXXXX
There are no GraphQL APIs available.
Add by running $amplify api add
Any suggestion on how to add properly an existing AppSync API (created from AWS console) to an Angular project.