You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# simple-aws-lambda-mongodb
2
2
3
-
This example demonstrates how to deploy a [NodeJS](https://nodejs.org/en/docs/) function running on [AWS Lambda](https://aws.amazon.com/lambda/) using the traditional [Serverless](https://www.serverless.com/framework/docs/providers/aws/guide/intro) Framework. The deployed function works with multiple type of event definitions.
3
+
This example demonstrates how to deploy a [NodeJS](https://nodejs.org/en/docs/) function running on [AWS Lambda](https://aws.amazon.com/lambda/) using the traditional [Serverless](https://www.serverless.com/framework/docs/providers/aws/guide/intro) Framework. The deployed functions work with [MongoDB Atlas](https://www.mongodb.com/docs/atlas/).
4
4
5
-
This Example works with both `cron`events and `httpApi` events.
5
+
This Example works with [AWS HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop.html)events. For faster response with the APIs [Redis](https://redis.io/)*caching* is used. For *session tracking*[JSON Web Token (JWT)](https://jwt.io/) is used.
6
6
7
-
When deployed the [AWS Lambda](https://aws.amazon.com/lambda/)function sends Emails by using [AWS Simple Email Service(SES)](https://aws.amazon.com/ses/). Now the Emails can be sent either by an [AWS HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop.html) event or by a `cron` like fashion to a stipulated time interval set in the [AWS Cloudformation](https://aws.amazon.com/cloudformation/) Stack.
7
+
All *logs* for the function is kept in [AWS Cloudwatch](https://aws.amazon.com/cloudwatch/) i.e *persistent*.
8
8
9
-
All *logs* for the function is kept in [AWS Cloudwatch](https://aws.amazon.com/cloudwatch/)i.e *persistent*.[AWS EventBridge](https://aws.amazon.com/about-aws/whats-new/2019/07/introducing-amazon-eventbridge/) is used to handle **both**types of `schedule` and `http` events.
9
+
To use the code in this example you **must** have an valid [AWS account](https://aws.amazon.com/account/)and necessary[AWS IAM](https://aws.amazon.com/iam/) roles and programmatic access to an user. You **must**have a [MongoDB Atlas](https://www.mongodb.com/docs/atlas/) account as well as an [AWS EC2](https://aws.amazon.com/ec2/) instance should be installed with [Redis](https://redis.io/).
10
10
11
-
To use the code in this example you **must** have an valid [AWS account](https://aws.amazon.com/account/) and necessary [AWS IAM](https://aws.amazon.com/iam/) roles and programmatic access to an user.
11
+
[User Sticker App](https://github.com/anijitsahu/react-app-simple-user-sticker-app) is related to this application.
12
12
13
13
## Features
14
14
1.[AWS Lambda](https://aws.amazon.com/lambda/) function using [NodeJS](https://nodejs.org/en/docs/)
@@ -27,12 +27,12 @@ To use the code in this example you **must** have an valid [AWS account](https:/
27
27
</ol>
28
28
29
29
30
-
6.**Two**types of events are supported `httpAPi` and `schedule`
30
+
6.For **session tracking**[JWT](https://jwt.io/) is used.
31
31
7.[AWS HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop.html) are using [AWS API GateWay](https://aws.amazon.com/api-gateway/)
32
32
33
33
<olstart="8">
34
-
<li> All Emails are sent using <ahref="https://aws.amazon.com/ses/">AWS Simple Email Service(SES)</a>. For that purpose valid <i>Identities</i> must be created.</li>
35
-
<li> Email Templates are created using <ahref="https://www.w3schools.com/html/default.asp">HTML5</a> and <ahref="https://www.w3schools.com/css/">CSS3</a></li>
34
+
<li> All data is saved in <ahref="https://www.mongodb.com/docs/atlas/">MongoDB Atlas</a> i.e. <i>persistent</i>
35
+
<li> <strong>Caching</strong> is used for faster response in the APIs. <ahref="https://redis.io/">Redis</a> is used for that purpose</li>
36
36
<li> This APIs can also be consumed by any <b>Frontend Application</b>.</li>
0 commit comments