aws-amplify

AWS amplify: how to distinguish a generation 1 project from a newer generation 2?


I received a project to mantain.

What can help me to understand if this is a Generation 1 or a Generation 2 project?


Solution

  • Both Gen1 and Gen2 projects has a amplify directory on the root of the project.

    Directory structure of an Amplify Gen2 app's amplify folder would be something like below image.

    enter image description here

    For more detail, refer to these repositories:

    1. Gen1 - https://github.com/aws-amplify/amplify-js-samples
    2. Gen2 - https://github.com/aws-samples/amplify-next-template