I am developing and integrating the Tap Payment gateway in React-native (Expo) and Nodejs , anyone can help me that how to Integrate Tap payment in React-native and Nodejs
You can hit their APIs which are also available for the Nodejs as well for creating the token and then making the payment request easily, you may use got npm for making the API request from Nodejs.
Check this link TAP API DOC - https://www.tap.company/kw/en/developers
Related
I am currently working on a web application set up using ReactJS/Electron for the front-end, Nodejs for the back-end and MongoDB for the database. I want to implement a Fingerprint based authentication-attendance System using external USB scanner which when plugged in to the computer; it will be used for user authentication on the login page of the web application (using ReactJS).
How can this be implemented, is there any NPM package I should be using or any other webAPI that can help with this?
Here's a great NPM package for an OpenSaaS biometric authentication provider: https://www.npmjs.com/org/loginid
You can read the documentation here: https://docs.loginid.io/Server-SDKs/Node/node-get-started
I Wanted to create GSuite app and deploy in my own server instead of deploying in google cloud. Is there a way to do it? It would be great if i get some solution for this.
Thanks in advance
You can't deploy G Suite apps/extensions to your own server - they must be published via Chrome Web Store and/or G Suite Marketplace.
What you can do when you publish your app, is to set it as private so that only users in your domain can see and install the app. See Step 4 on Create and publish custom Chrome apps & extensions page for more details. Obviously, the app must be published by a domain account - you don't get that option if you publish an app from your personal/Gmail account.
I have an app built on react native and I want to connect to a database that i have made on the Microsoft SQL server. I have searched online and there are things like myssql but I still get errors with that. I followed this tutorial nodejs from the official Microsoft website, and it works with the nodejs and I use node to run it, but how can i use this in my react native project?
You can use AXIOS to make requests to your NodeJS Server
In Android you can access your localhost by the IP 10.0.2.2 (default proxy configured in your Android Virtual Device).
In iOS you can just use localhost
Remember to add the port assigned your NodeJS Server and the
protocol http
Example URL for Android: http://10.0.2.2:3000
You need to write back-end service code.I suggest you to use Asp.Net Web API .You can use Entity Framework.
Also you can use PHP,Java or Python...
I have a problem with Firebase, React and Electron. When I use my app in dev, I use the localhost to load with react-scripts start , so it's loading in http://localhost:3000. I use this url to load my app with Electron.
BUT when I am trying to go in production, I use the electron-builder. I build my app with react-script build, it's create the build folder, and for the electron app, I change the loading url for file://${path.join(__dirname, "../build/index.html" I use build -c.extraMetadata.main=build/electron.js. It's now loading perfectly. BUT When I try to authenticate nothing happen and in the console, it says :
code : auth/operation-is-not-supported-in-this-environnement
message : This operation is not supported in the environnement this is running on. "location.protocol" must be http, https or chrome extension and web storage must be enable
How I can resolve this ?
My hypothesis it's because I don't write the url of my app in Authorized domains in Firebase Sign in method, but there is no url for my app, it's local. Does I need to load a server to employ Firebase ?
I see a similar post but without answer
I think it's because the SDK thinks it's running from a Node.js server environment. Currently, OAuth sign in with popup or redirect is not supported in Electronjs. You would need to get an OAuth credential from an electron compatible library and use the signInWithCredential API.
Firebase is looking into supporting signInWithPopup/Redirect in this environment.
I'm confused as to when Bot Builder for Node.js should be used to create a Bot vs using Bot Connector Node.js, or how they are supposed to be used together.
Specifically, its unclear to me how to respond to a user with keyboard suggestions in Kik or lets say button options in Facebook. It appears like Bot Connector Node.js is an entirely different approach to receiving messages from a user and sending a response back as shown in the documentation here: http://docs.botframework.com/connector/libraries/node/#navtitle. Why is Bot Connector Node.js creating a completely separate server? With Bot Builder for Node.js aren't I already creating a server to send and receive messages?
The Bot Framework SDK for Node.js is available via the NPM module botbuilder. Install the module into your project using npm install --save botbuilder and start building your bot.
You can view the source code for the Node SDK in the repository Microsoft/BotBuilder in the Node/core/src/ directory here.
You will also find some helpful example bots that demonstrate various features of Bot Framework in the repository Microsoft/BotBuilder-Samples.
For more information check out the Getting Started Guide for Node SDK.