Git Product home page Git Product logo

ecommerce-application-on-aws-cloud's Introduction

CSCI-5409-Fall-2021-Group-5

The file test1.js works as a server on EC2 instance Description: This code was used to send out the order placement message which was firstly sent to the AWS SQS Queue and the lambda then pulled the message from the AWS SQS and further published the message to the AWS SNS topic to which the user has been subscribed, in this manner the user gets the email of successful order placement. This whole code worked as a nodejs server on EC2 instance

Screenshot of working part 1:https://mjajaj.s3.amazonaws.com/EC2+instances+running+proof/Screenshot+2021-12-11+at+12.30.47+AM.png

Screenshot of working part 2:https://mjajaj.s3.amazonaws.com/EC2+instances+running+proof/Screenshot+2021-12-11+at+12.32.43+AM.png

The file subscribe.js worked as a server on EC2 which was used to send out the subscription conformation message to the email ids Description: The file was deployed on EC2 instance and was used to send the subscription confirmation request to the users so that they could subscribe to the topic to recieve the emails, once subscription was made the user would now onwards be able to recieve the emails about order placements. This file firstly takes the topic arn and then creates a subscription for that particular user to the existing topic so that the user is registered after that the user just has to confirm subscription in order to get notification about order placements

Screenshot of working part 1:https://mjajaj.s3.amazonaws.com/EC2+instances+running+proof/Screenshot+2021-12-11+at+12.37.23+AM.png

Screenshot of working part 2:https://mjajaj.s3.amazonaws.com/EC2+instances+running+proof/Screenshot+2021-12-11+at+12.39.00+AM.png

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.