This is a sample example project written in Typescript to run AWS SQS with Serverless Offline
Run this command to initialize a new project in a new working directory.
npm install
Start and Run the Project Offline
First you need to install docker in your OS. After installation, run the following commands in two cmd.
npm run start-elastic-mq
npm start
Invoke the function
Make a get request to the following endpoint http://localhost:8080/
curl http://localhost:8080/