- Plesk Onyx for Linux
- Plesk Onyx for Windows
How to connect NodeJs with MongoDB on the Plesk server?
In order to connect NodeJs to a MongoDB server, its necessary to install a database driver using the following command under the NodeJs application folder.
# npm install mongodb
Note: On Linux NodeJs binaries located in
On a Windows server NodeJs binaries located in
To get more information refer to the official MongoDB documentation at the Node.js Driver