Node.js Express Speech Translator Live Web App Using Google Translate API Tutorial For Beginners 2020

You are currently viewing Node.js Express Speech Translator Live Web App Using Google Translate API Tutorial For Beginners 2020

 

 

Live Demo

 

You can see the live demo of the app at this link here

 

 

Get Started

 

 

In order to get started you need to install these dependencies inside your node.js project as follows

 

npm i express

 

npm i nodemon

 

npm i @vitalets/google-translate-api

 

 

Install these dependencies inside your project and then make the index.js  file and copy paste the following code to it

 

 

index.js

 

 

 

 

 

Now after that make the speechtranslator.ejs template inside your views folder inside the node.js project as follows

 

views/speechtranslator.ejs

 

 

speechtranslator.ejs

 

 

 

 

 

 

 

 

 

 

 

 

Leave a Reply