Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 749 Bytes

File metadata and controls

39 lines (25 loc) · 749 Bytes

serverless-offline-sqs-example-typescript

This is a sample example project written in Typescript to run AWS SQS with Serverless Offline

Setup

Run this command to initialize a new project in a new working directory.

npm install

Usage

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/

Reference