SOMOD framework is designed by keeping reusability at its core.
Add the required modules as npm dependencies to the current module. The SOMOD CLI will take care of discovering and wiring all the installed modules to prepare the AWS SAM project and the NextJs project.
Initialize an empty SOMOD module
somod-example-user-management as a dependency
Configure the module
parameters.json file with the below contents
Deploy the current module
SOMOD automatically prepares AWS SAM Project for deployment
Get the new Endpoint URL Run the following command to retrieve the endpoint URL for the newly deployed module
Start a NextJS server Run the following command to start the UI server.
In the above example, we have created a web application without actually writing the code.
In the Next Chapter, let us understand how to deploy the SOMOD modules.