Connecting to oracle data visualisation cloud service with node js - node.js

I’m looking to integrate reports/charts from oracle data visualisation cloud service to my web application which is using node js for backend and angular for front end. I have a dev server in oracle cloud with the reports and charts ready. How can I get started to use the api from oracle cloud using node js . Is there any modules that support this ? Or can any one guide me on how to establish the connection and authenticate it. Can anyone share related documents as well. Thanks in advance

Related

Run a Firebase Testlab test from node server

we have a Heroku hosted nodejs server that servers a rest API. We want to add an endpoint to which we can upload an APK and have the server spin up a test for us on Firebase.
I can't seem to find any nodejs server side libraries from Google to help me achieve this.
In your nodes server, you could call Cloud Testing API directly to start a test. Test execution results can be retrieved with Cloud Tool Results API. Both of these two APIs are public API and there is Nodejs client support.

Need some guidance on deploying/hosting a web app

I recently developed a web app locally, with a React frontend that interacts via proxy with a Node.js backend that interacts with MongoDB Atlas. Everything works locally, and I am ready to actually deploy the web app for public use.
How does hosting work with a full stack web application? Do I host the entire web app in the same place (e.g. S3 bucket), or should the backend and frontend be deployed separately? I have never done this before, so I appreciate any help I can get.
Yes, you can have two different servers for frontend and backend.
You can use theHeroku platform to deploy your backend app, and Mlab to provision a Mongo database. These platforms has free tiers where you can experiment and learn about deployments and clouds.
Once you are comfortable with these then you can move to Elastic Bean Stalk on AWS to provision servers and also database.
Now mlab is not available as it is already been acquired by mongoDB only, so I would recommend you to create the database on Atlas cluster which also offers a free tier.
Rather than using the Heroku, I would suggest you to use MongoDB stitch which is also the backend as a service. If you will use stitch then you can also seek for support from mongoDB people but in case you will use heroku then you will not receive any support from them.
You can refer to the documentation of stitch for more information https://docs.mongodb.com/stitch/. This has complete guidance how you can deploy your app using stich and can use mongodb database.
However if you need more help, please ping me anytime.

Running Mongodb CRUD API on azure (for Ionic)

I'm trying to run a MongoDB (using NodeJS and Express) on the Azure Server as a server side part of my ionic app.
Once placed on Azure I'd like to access it with my Ionic App using CRUD operations.
What steps do I go through after acquiring a Azure Portal account? Do I take Mobile Services or a simple Web Api?
Is there something specific that I need to add to the NodeJS server?
Generally, the app using Node and MongoDB as the backend for mobile client hosted on Azure App Service, such as WebApps, Mobile Apps (recommended).
Based on my understanding, I think there are some documents that may be helpful for you, please see them below.
For Web Apps, you can refer to the tutorial Get started with Node.js web apps in Azure App Service.
For Mobile Apps, I think your ionic app was based on cordova, there is a tutorial for getting started with cordova Create an Apache Cordova app. And Two related blogs shown a sample of Node + MongoDB on Azure for mobile, please see below.
Exposing MongoDB collections on the node.js backend
Querying MongoDB collections via the Azure Mobile Service node.js backend
To deploy the app to Azure App Service, you can try to publish it via FTP, git, or IDE like VS, please see https://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/.
Hope it helps. Any concern, please feel free to let me know.

Create a REST Web Service using Node.JS

i need to create a web service to connect to an oracle database from a mobile application
i found some tutorial about creating a web service by using NODE.JS
my question : is it possible to create a REST web service with Node.js to connect to oracle database from my mobile apps ??
if you have an other idea how to create a rest web service using php plz tell me
Php is one thing: a language; NodeJS is another thing: a software platform used to build network applications in JavaScript. I assume you want to develop in JavaScript and not Php.
Yes, it is possible to do what you want. Look into the following packages:
oracle db driver: driver to connect from your node.js app to the oracle db
express: a web development framework
In summary, express will serve as your web server, it will define the REST service endpoints, receive the mobile client's requests, fetch the data from the Oracle db with the help of the aforementioned db driver, and return this data to the mobile client.
You can get started fast with express by generating a base skeleton app just by running:
$ express myAppName
Absolutely. For the REST server side of things, you might be interested in express or restify From the REST server / application you can use something like node-oracle to connect to the Oracle database.

Best way to broadcast SQL Azure Database for consumption by Ember.js app?

I am working with a team to create an MS Azure hosted web app following the ember.js framework. This app needs to interface with a sql Azure database, and I am wondering what the best way to broadcast that database would be. This needs to be a secured connection.
On the client side, we are looking to use Ember Data to consume JSON output from the Database, but I am confused as to how to make the connection on the server side. Should I be creating a RESTful web service using node.js or Windows Azure Mobile Services?
Yes. You will need to expose data via a HTTP server. Ember.js is totally agnostic about server solutions so this can be written in any language you want. If you are writing this server from scratch and can match the semantics of the sample Adapter included with ember-data you'll find it works pretty much "out of the box"

Resources