Your first app
Lifecycle Hooks
monolayer allows you to define lifecycle hooks for your applications, enabling you to execute custom logic at key stages of your application deployment.
With lifecycle hooks, you can automate tasks during environment bootstrapping and before rolling out new application versions.
We'll deploy the database when setting up a new environment.
Run the following command and select "db:deploy":
npx monolayer add bootstrapWe'll also deploy the database before rolling out a new application version.
Run the following command and select "db:deploy":
npx monolayer add before-rollout