Skip to content

Instantly share code, notes, and snippets.

View sum1275's full-sized avatar
🎯
Focusing

sum1275

🎯
Focusing
View GitHub Profile

Interview Questions

Node.js

Q1: What do you mean by Asynchronous API? β˜†β˜†

Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.

Source: tutorialspoint.com

@sum1275
sum1275 / Dockerfile
Created September 27, 2024 16:33 — forked from piyushgarg-dev/Dockerfile
Docker In One Shot
FROM ubuntu
RUN apt-get update
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get upgrade -y
RUN apt-get install -y nodejs
COPY package.json package.json
COPY package-lock.json package-lock.json
@sum1275
sum1275 / appsnake.css
Created April 11, 2020 05:27
Memory game html file
.grid{
display: flex;
flex-wrap:wrap;
height:300px ;
width: 400px;
height: 300px;
}