Read Access Database file (.mdb) with NodeJS on Mac? - node.js

I would like to open a *.mdb file (Access Database) for read only (need a SQL access, not just open the file).
The main issue is that I need to open it in a NodeJS server, that runs on Mac OS X.
I want to avoid installing any 3rd-party binaries and/or Microsoft Access Driver on the server - only use a node package or similar.
My server is a Meteor server, so any NodeJS (npm) will be great.
It is possible?
Thanks!

Related

How to install node.js source code through cpanel filemanager

Hey guys... I have a complete web project source code built with node.js, but am trying to install it on shared hosting using cpanel file manager, and have uploaded and connected the database and SQL database but when I run the app on browser keep showing index page and all file uploaded...
I need help guys...

Import MS Access data on a Meteor Galaxy server

I need to parse a MS Access database on a Meteor server hosted on Galaxy.
Specifically it's a .accdb file.
If I were able to install mdbtools on Galaxy, the npm package mdb would serve this purpose- but I'm fairly certain I can't install anything on Galaxy hosted servers.
Is there an easy solution to this or do I need to switch hosting/ set up a process on a different host to convert the database to a usable format?
EDIT:
I was able to install and use mdbtools but I wasn't able to get mdb to work on my build. I created my own implementation of mdbtools called mdb-parse. This will not work in Galaxy but seems to me at this time to be the only solution if you need to work with .accdb and .mdb files on Node.js.

Developing locally using express, mongodb and mongoose

I'm currently making an app using express, mongodb and mongoose, and I'm running it locally on my machine. My problem is that if I'm not connected to the internet the app won't run at all due to the app not being able to connect to mongodb server.
I thought that if I ran the mongodb server locally on my computer along with the app then I wouldn't need an internet connection, or is my understanding wrong?
Any help would be much appreciated.
The answer is: yes.
If you install MongoDB locally then you won't need internet connection to access it.
Make sure that your connection string contains "localhost".
Also, make sure that you don't need anything else on the internet, and that you run npm install while you are connected to the internet, or otherwise your dependencies (like mongoose) won't get installed. After they are installed they can work without the internet connection just fine - if your database is on localhost.
Also, make sure that your local MongoDB server is running. You can run:
mongo test
in the command line to see if you can connect to a local database.
You're in the right path !
Here's the thing, you need to get yourself a copy of MongoDB, you can download and install the suitable version to your system from here.
Now you need to configure MongoDB in your in your path so you can launch it when you is or simply add it a process that will launch when your system starts.
In order to configure please choose the suitable conf to your system :
Windows.
Linux.
macOS.
Then, before running your application, make sure MongoDB is running in the background ad service or daemon and then simply launch your application.

Nodejs OLE-COM server

I am using win32ole to access COM-OLE (automation) bindings inside a windows PC such as excel, word etc.
Now what I want is to implement a COM-OLE server using nodejs. I can't seem to find any nodejs module that supports these.
In the end, I only need to expose COM-OLE objects/interfaces to any applications running inside the PC so that they can access my application.
Thanks and BTW, I am using Electron.js.
Since win32ole only appears to operate as a client, you're stuck either:
Implementing your own COM server in C++ (nan helps with the node glue)
Writing a COM server in .NET and using edge for the node glue.

How to upload Node.js Application to FTP server?

I am kind of new to Node.js but I built an application and am pretty happy with it. I was wondering how would I go about uploading my Node.js application to an FTP server? Is it even possible to do this?
A Node.JS application is just a collection of files. You can upload them to another computer using FTP just like any other files.
That probably isn't what you are trying to ask though.
If you want to host a website built as a Node.JS application then you need to be using hosting that either:
Explicitly supports Node.JS (Google finds this list) or
Gives you full admin access (such as a virtual or dedicated server)
Such hosting will generally give you (at a minimum) shell access (via SSH) which you can use to run the Node.JS application.

Resources