In: Computer Science
Discuss any API / libraries of your favorite programming language (e.g. python, c#, java etc.) that you have used/reused in any of your previous projects and how it contributes to the overall project.
First of all API stands for the Application Programming Interface .API is a kind of software which works as intermidiator between two applications or it will allows the two application talk to each other.
API is used in login system such as “log-in using Facebook/Twitter/Google/Github” functionality you see on so many websites. API will make it to easier for the user to login any websites or applications.
I have used Google API for the login system which supports the to login through many API such as: "log-in using Facebook/Twitter/Google/Github"
If we visit any website or any application it shows so many options such login with email, Facebook, google, GitHub etc .
Simply we have click on any account then everything is done automatically .
Suppose Im logging with Google the it will take some information about the user with my google account which user name,email, profile etc.Here everything is done with help of API .
My code is implemented with the help of passport.js
Here you can see how google API configured .