Skip to content

lucbind/Oracle_Mongo_API_Lab

Repository files navigation

Oracle Mongo API example Lab Roma

This is just a simple example to show how a simple nodejs App written for Mongo, can run on Oracle just modify the uri

image

The App was taken from mongo forum

*)Steps to run the app

gh repo clone lucbind/Oracle_Mongo_API_Lab
 
cd Oracle_Mongo_API_Lab
 
npm init
 
npm install
 
node server.js

The app run on http://localhost:3000/app.html

To switch between Oracle and Mongodb take a look at database.js and dbFunctions.js where you have to put your server connection ip where Oracle and where Mongodb are installed. In my case mongodb was on 27017 port (as usual) and Oracle Mongo-API on 27018. port

ORDS for Oracle is a requirement, and I mapped username on Oracle APPL1 as a schema for the collection

==LB==

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published