An application programming interface (API) is a software middleman that enables two applications to interact with each other. It defines the kinds of calls or requests that can be made, how to make them, the data formats that should be used, etc.

Image for post
Image for post
This is an API in between the browsers and database

You can say that an API is a set of function that does a particular (maybe connecting to a server/Database for it’s activity or just return a response which can be text, json etc) when being requested by the browser etc API acts as a middleman between the Frontend and the backend.

However, API is usually produced from…


Async/Await in JavaScript simplied in 3 minutes

Hi, I’m just going take a few minutes to simplify how async and await works in JavaScript.

Image for post
Image for post

So, it’s basically a line of code waiting for the data returned by a JavaScript’s promise to be fully resolved or rejected before moving onto the next line of code.

Let me give you a brief example on how to start using async/await as this is currently the best practice.

We should always consider these things before making use of async await.

  • The code that is ought to run, should be inside a function.
  • Example of…

Stanley Chibuike

FullStack Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store