API Gateway

Authorizer as a middleware in API Gateway via Node.js (Serverless Framework)

Authorizer provides security to Restful API. In this article, we'll create Authorizer function which uploads to AWS Lambda Function and integrate with API gateway....

Read
AWS Services

How to use Amazon Athena in Nodejs?

Amazon Athena provides a platform which we can use for Standard SQL query and it uses Amazon Simple Storage (S3) for data storage. Athena is serverless and there is no infrastructure for setup and manage...

Read
AWS Services

Amazon Cognito for Web based Authentication

Amazon Cognito is complete package of authentication, authorization, and user management for web and mobile apps. It's easy for users to sign in directly with a user name and password, or through a third party such as Facebook, Amazon, or Google ...

Read
Javascript

API Gateway First Application | Serverless

Here we will learn how to implement api-gateway. In last post, we just go through with the basics of Serverless, Lambda Functions and API Gateway. What we are going to use here ...

Read
Javascript

Serverless | Lambda Functions | API Gateway

Now a days, I am working on AWS services (API Gateway, Lambda Function, Kinesis Stream, DynamoDb, S3 etc.). In this article, I will explain How to do Serverless Programming...

Read
Javascript

Upload files to AWS S3 in Node.js

Now a days, I am working on AWS services (API Gateway, Lambda Function, DynamoDb, S3 etc.). In this story, I will explain How to upload files to AWS server (S3). What we are going to use here ...

Read
Javascript

Nodemailer Service in Node.js using SMTP and xoauth2

Here, we will learn how to send a mail in Node.js using Nodemailer Package. What we are planning to use here. we will create one application which will do following things only: Nodemailer setup using SMTP (here you will use username and password). Nodemailer setup using xoauth2 (here you will need user, clientId, clientSecret, refreshToken, accessToken)....

Read
Javascript

User authentication using passport.js in Node.js

Here we will learn how to implement user authentication using passport-local strategy. In last post, we learned User Authentication using JWT. There, we used JSON Web Token. These both are different way and robust way. What we are going to use here ...

Read
Javascript

User Authentication using JWT (JSON Web Token) in Node.js (Express Framework)

Here we will learn how to implement user authentication using JWT(JSON Web Token) strategy. What we are going to use here: Node.js, Express Framework, Mongodb and JWT. I assume, you all are aware with Node.js, Express Framework and Mongodb. If not, please have a look on my previous posts: ...

Read
Javascript

CRUD Operation (Node.js + Express + MongoDB) with UI integration (Angular.js)

In this article, we will develop FrontEnd using Angular.js. Before that we will reorganize our structure. There will be some changes in server code like we need to load frontend directory in server side etc. Have a look at repository for new changes in server code. Before going to start development in Angular.js, first have a look to ui-router. Let's start FrontEnd Side code ...

Read