How create a serverless website using AWS Lambda, AWS S3, AWS API Gateway and AWS DynamoDB with node.js? Full Tutorial!

This post will show you how we can create a web site using AWS serverless architecture. Architecture The architecture would look something like below: The services and technologies we will be using to build this application are: AWS Lambda AWS Lambda is a compute service that lets you run code without provisioning or managing servers. AWS … Continue reading How create a serverless website using AWS Lambda, AWS S3, AWS API Gateway and AWS DynamoDB with node.js? Full Tutorial!

Advertisements

Beginners lesson on how to scale your Website?

So, what is Application Scalability? When your website gets too much traffic(requests per minute or queries per second) which makes the website process the requests slowly and sometimes results in crashing of the server on which it is running. To prevent failures and sluggishness add more resources on both hardware and software side that is … Continue reading Beginners lesson on how to scale your Website?

Building a REST API in NodeJS, Express and MongoDB

REST stands for Representational state transfer. A REST API defines a set of functions which developers can perform requests and receive responses via HTTP protocol such as GET, POST, DELETE, PUT, PATCH. A Real World Example: Facebook  provides a REST API which you can query to get the number likes, you can provide a search … Continue reading Building a REST API in NodeJS, Express and MongoDB

Sending HTTP GET Request to a REST API in JAVA

HTTP/HTTPS Get/Post request /response using JAVA below. For detailed visit here: https://www.mkyong.com/java/how-to-send-http-request-getpost-in-java/ Code: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import javax.net.ssl.HttpsURLConnection; public class HttpURLConnection { public static void main(String[] args) throws IOException { String response = httpGet("https://services.groupkt.com/state/get/IND/all"); } public static String httpGet(String urlStr) throws IOException { URL obj = new URL(urlStr); HttpsURLConnection con … Continue reading Sending HTTP GET Request to a REST API in JAVA