danielsan / aws-sqs-node-js-examples

Tutorial on using the AWS SQS API to create queues and work with messages within those queues. We will be using NodeJS as our primary language but it can be done using any language the AWS SDK supports.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS SQS NodeJS Example

Follow the instructions below on an EC2 Ubuntu instance. This tutorial will help you setup the AWS SDK using NodeJS. If you have any questions please contact me!

sudo su
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get install nodejs npm git -y
ln -s /usr/bin/nodejs /usr/bin/node
git clone https://github.com/andrewpuch/aws-sqs-node-js-examples.git
cd aws-sqs-node-js-examples
npm install
cp config-sample.json config.json

NOTE: Here you will want to edit config.json with your AWS keys.

node app.js

About

Tutorial on using the AWS SQS API to create queues and work with messages within those queues. We will be using NodeJS as our primary language but it can be done using any language the AWS SDK supports.


Languages

Language:JavaScript 100.0%