Giter Site home page Giter Site logo

andresweitzel / sqs_sns_nodejs_aws Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 28.4 MB

Modelo para el uso de Amazon SQS y Amazon SNS implementado con Nodejs, Serverless-offline, Amazon SQS, Amazon SNS, Amazon Api-Gateway, Aws-lambda, aws-sdk-v3 etc

License: GNU General Public License v3.0

JavaScript 100.00%
aws aws-apigateway aws-lambda aws-sdk-v3 aws-sns aws-sqs nodejs serverless-framework serverless-offline sqs-fifo-queues

sqs_sns_nodejs_aws's Introduction

Ejecución del proyecto

  • git clone repo
  • npm i -g serverless
  • npm i
  • npx kill-port 9324 (si tenemos otro/s proceso/s en este puerto)
  • npm start
  • Ejecutamos el siguiente endpoint de tipo POST con postman
curl --location 'http://localhost:4000/dev/sender-queue/' \
--header 'x-api-key: f98d8cd98h73s204e3456998ecl9427j'
  • Resultado desde consola (QueueSendMessage y QueueReceiveMessage) Index app

Comandos

  • Iniciar solo servicio elasticmq
npm run queue-start
  • Iniciar solo servicio serverless-offline
npm run serverless-offline
  • Iniciar el servicio de elasticmq y serverless
npm start

Doc SNS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.