connection with oracle database in Reactjs - node.js

I am doing a database project using reactjs for frontend and Oracle database for the database connection.
Many sources for the connection of React and MySQL are available but there is hardly any source for connection with the oracle database in React.How do i do it? documentation for nodejs oracle connection is available.so i can connect with the database but how do i show results on localhost using Reactjs?
I have tried to create a simple javascript file and connect with oracle in it.I was able to get data on the console but how do i post it on localhost?

You need apis for acting as a bridge between reactjs application and oracle db. You can use any backend stack for oracle db connection and apis like nodejs, python etc. Reactjs is not to be used for server side applications, its only for the frontend meant to be running inside a browser.

Related

Web socket connection failed after deploying in AWS

I'm working on frontend development using react. Backend is developed using node js.
In our application, we have web socket implemented in it. We are able to establish websocket connection and load server messages whenever it's used locally. (ws://localhost:portNo)
But, the problem is once after the code is deployed in aws,we're not able to establish the web socket connection.
Please suggest some ideas. It would be more helpful.
Thanks in advance!!!

Connect mongo db server via a proxy

I'm trying to connect a mongo db server from node js using mongoose. My system connected to internet via a proxy. Is it possible? Or is there any other node module that has this functionality?

RESTful NodeJs express server takes long to respond

I have a RESTful NodeJS express server. When I make an API call the api retrieves data from a mongodb server hosted on modulus. While running the server from localhost sometimes it stops responding. When i query the database using robomongo it works. So I dont think there is a problem with the database connection to modulus. Is there any known issues regarding this ?

Two nodejs server connect to one MongoDB server at the same time

Is there any problem if I use two nodejs server connect to one MongoDB server at the same time?. Can this way create any read/write issue on mongo instance?.
The same question for another case: One nodejs server connect to two MongoDB server at the same time?

Run mongodb from remote server

I am new to mongodb and want to know about connecting to remote server. I have mongodb running on remote server. I want to access the mongo database from another server and perform all the operation. How can i do that. I am using node.js with mongodb. Please help me how can i establish the connection.
You can use the following library for node:
https://github.com/christkv/node-mongodb-native
If you want a tool to access the database, you can use:
MongoHub (for Mac) & MongoVUE (for Windows)
Good luck!

Resources