Category: javascript,Handling Error, Try, catch and throw
-
Node.js tutorial – How to use Request Module
In any application framework, one basic need is to be able to make REST calls over HTTP/HTTPS as they are widely used and a very handful in case of API interactions, web scraping, etc. We can use the NodeJS core modules or http https to perform these calls but that is a bit cumbersome process and […]
-
Setup an environment for working with react.
In order to setup an environment for working with react we can use the create react package. To install create react package. npm i create-react-app -g After installing crate-react-app package, genrate simple react app by using following command. create-react-app <dir> example:-create-react-app first-react-app This might take a couple minutes. cd first-react-app Start the app:- npm start […]
-
How to use paytm in your website to add money to your wallet using javascript.
Paytm wallets are used in almost all the websites we encounter these days. Also it is one of the best wallet used for handling digital transactions. Although Paytm has provided us with the direct API for checking balance and making payments if we have sufficient balance in our wallet. But what if we do not […]