🔥 🔥 JavaScript Frameworks to build API & Microservices

⭔ Hapi
⬠ Express
⭔ Next.js
⬠ NestJS
⭔ Loopback 4
⬠ Restify
⭔ Feathers
⬠ Moleculer
⭔ Sails
⬠ Actionhero
⭔ AdonisJS
⬠ Koa
⭔ Fastify

Which one is your favourite? Reply in 💬
Before proceeding, if you want to find out different ways of calling APIs in JavaScript, check 👇

⭔ Hapi

❍ Hapi is a simple, secure, and open-source javascript framework.

❍ It is used to build powerful, scalable applications with minimal overhead.

❍ It was originally developed to handle Walmart’s Black Friday sale.

➢ Refer: hapi.dev
⬠ Express

❍ Undoubtedly the most famous Node.js based web application framework.

❍ For API development, it contains intermediate handlers and many HTTP service/utility methods.

➢ Refer: expressjs.com
⭔ Next.js

❍ Next.js is React based server-side framework.

❍ APIs can be built using API routes in Next.js

➢ Refer: nextjs.org/docs/api-route…
⬠ NestJS

❍ NestJS is Node.js framework for building efficient, reliable and scalable server-side applications.

❍ Using NestJS, we can create APIs and, Microservices.

➢ Refer: nestjs.com
⭔ LoopBack 4

❍ LoopBack 4 is s highly extensible Node.js and TypeScript framework for building APIs and Microservices.

❍ It has even support for GraphQL.

➢ Refer: loopback.io
⬠ Restify

❍ Restify is optimized for building semantically correct RESTful web services ready for production use at scale.

❍ It is used by some of the industry’s most respected companies like Netflix, Joyent, Pinterest.

➢ Refer: restify.com
⭔ Feathers

❍ Feathers is a set of tools and an architecture pattern that make it easy to create scalable REST APIs and real-time applications.

➢ Refer: feathersjs.com
⬠ Moleculer

❍ Moleculer is a fast, modern, and powerful Microservices framework for Node.js.

❍ Moleculer is a fault tolerant framework. It has built-in load balancer, circuit breaker, retries, timeout and bulkhead features.

➢ Refer: moleculer.services
⭔ Sails

❍ Sails is the MVC framework for Node.js

❍ It is light weight that is built on top of Express.

❍ It uses Express for handling HTTP requests

➢ Refer: sailsjs.com
⬠ Actionhero

❍ The reusable, scalable, and quick Node.js API server for stateless and stateful applications.

❍ Actionhero makes API-First development easy by enforcing a strict separation of views and application logic.

➢ Refer: actionherojs.com
⭔ AdonisJS

❍ A fully featured web framework for Node.js

❍ AdonisJS includes everything you need to create a fully functional web app or an API server.

➢ Refer: adonisjs.com
⬠ Koa

❍ Koa is a new web framework designed by the team behind Express.

❍ It aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.

➢ Refer: koajs.com
⭔ Fastify

❍ Fastify is one of the fastest web frameworks in the industry.

❍ It provides high performance, and it can serve up to 30 thousand requests per second.

➢ Refer: fastify.io
In the next 🧵 I will tell about where to deploy and, host our API servers.

If you are interested, do not forget to follow {@swapnakpanda}

If you found this 🧵 useful, please
♥️ Like
🔁 RETWEET
💬 Reply
the very FIRST tweet.

See you. 👋

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Swapna Kumar Panda ✨

Swapna Kumar Panda ✨ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @swapnakpanda

21 Dec
💙 Custom React-Based Tools

⮑ Web App
⮑ create-react-app
⮑ Gatsby
⮑ Next.js
⮑ Native App
⮑ React Native Mobile
⮑ React Native Desktop
⮑ CLI
⮑ Ink
⮑ React Blessed
⮑ PDF
⮑ react-pdf

And, many more.

🧵 👇
❝Learn React Once
Build Apps for any Platform❞

❍ React's architecture is so flexible that anyone can build a custom renderer

❍ The renderer converts JSX component to native component

❍ The final product could be anything. It even doesn't need JS-Engine at run-time.
⬔ Web Application

⮑ Client-Side
⮑ create-react-app (SPA)
⮑ Server-Side
⮑ Gatsby (SSG)
⮑ Next.js (SSR + SSG)

❅ Legend:

➊ SPA: Single Page Application
➋ SSR: Server Side Rendering
➌ SSG: Static Site Generator
Read 8 tweets
19 Dec
8️⃣ ways of making API calls in JavaScript 🔥

⮑ Browser [Client-Side
⮑ Fetch API
⮑ axios
⮑ jQuery
⮑ XMLHttpRequest

⮑ Node.js [Server-Side
⮑ https
⮑ axios
⮑ node-fetch
⮑ got
⮑ superagent

Which one do you use? Reply in 💬
❍ There are 2 parts to an API. A server and, a client.

❍ A client makes an API call by requesting an API server to consume some API data.

❍ There exists many in-build/external libraries which help in making those API calls.

Let's explore them 👀
➊ XMLHttpRequest

❍ XMLHttpRequest is a built-in browser object that allows to make HTTP requests in JavaScript.

❍ It was deprecated in ES6 with the introduction of Fetch API. Still it is used to work with old browsers.

❍ The response is always in String format.
Read 11 tweets
19 Dec
A successful product relies on 2 things

🛣 user friendly features (business requirement)
🔭 future-ready system (system design)

Of course Marketing, Usability are important as well.

A small discussion, 🧵 👇
{1/4}

While building a house, you plan it for at least 2 decades.

But, while building a product, what's in your mind?
{2/4}

Business requirements should be driven by end user's preferences.

Like before you start building a house, you understand preferences of each member in the house.
Read 5 tweets
14 Dec
💜 DSA Mostly Asked Questions [2]

🔥🔥 Covering 4️⃣0️⃣ Algorithms

If you are interested in the 1st of this series, check 👇

Series: 2️⃣
Level: Beginner
Topics:

⇰ Linked List - Concepts
⇰ Linked List - Operations
⇰ Linked List - Algorithms
Read 14 tweets
13 Dec
💙 Popular JavaScript Engines

⇰ V8
↳ Chrome
↳ Brave
↳ Opera
↳ Microsoft Edge
↳ Node.js
⇰ SpiderMonkey
↳ Firefox
↳ MongoDB
⇰ JavaScriptCore
↳ Safari
⇰ Chakra
↳ IE

✪ Popular Browser Engines ⇩
💜 Popular Browser Engines

⇰ Gecko
↳ Firefox
⇰ Webkit
↳ Safari
↳ Chrome for iOS
↳ Firefox for iOS
↳ Microsoft Edge for iOS
⇰ Blink
↳ Chrome
↳ Opera
↳ Brave
↳ Microsoft Edge
⇰ Presto
↳ Opera (Old)
⇰ Trident
↳ IE
0️⃣ Definition

⇰ JavaScript Engine
✔️ A JavaScript engine is a software component that executes JavaScript code.

⇰ Browser Engine
✔️ A Browser Engine transforms HTML documents and other resources of a web page into an interactive visual representation on a user's device.
Read 9 tweets
12 Dec
HTML (Interview) Questions [S2]

If you are interested in the 1st of this series, check 👇

Disclaimer:

• The questions covered here are mostly conceptual
• I never claim only these type of questions are/should be asked during interviews
• For interviews, you should have fundamentals strong. And you should be able to provide solutions to practical problems.
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(