![npm install serverless-offline npm install serverless-offline](https://i.ytimg.com/vi/sYGE0zQ8tCQ/maxresdefault.jpg)
One of the AWS Amplify toolchain options is to mock some of the cloud functionality locally. This method is only useful when you're working with Amplify-powered projects.
NPM INSTALL SERVERLESS OFFLINE OFFLINE
Similar to the previous approaches, if we want to use our offline services, we need to set the endpoint parameter of SDK or CLI to If you don't want to set the endpoint setting explicitly when using CLI with each command, alternatively, you can use awscli-local.
![npm install serverless-offline npm install serverless-offline](https://www.proud2becloud.com/wp-content/uploads/2020/08/infrastructure_schema_serverless_backend_typescript.png)
Imagine you're traveling by plane to a different city, and the deadline for your DynamoDB-powered project is really tight.