Admin panel for postgresql on Node.js server - linux

I want to host a Node project running with a postgreSQL db. However, when it is on the server I won't have a UI tool to easily view database entries. Does anyone know how I would go about creating a /admin domain to view / edit my postgreSQL db through an admin panel?
I'm using https://github.com/brianc/node-postgres as the client.

If you want to use DB admin tools on a remote server you have a few options:
ssh in and use psql. Easiest once you learn your way around psql.
Use PgAdmin-III via an SSL connection to the sever, or using its ssh tunnel features
Set up a web-based tool like phpPgAdmin on your web server, properly locked down, and access it over the browser.
Personally I'd stick with the basics.

Related

Are mariadb-install-db and mariadb-secure-installation necessary for each project?

I want to use MariaDB/MySQL local server with PHP on my computer for developing a web app.
I use Manjaro Linux, already installed mysql/mariadb and necessary other packages (via pacman).
Every time before I connect to my local mysql/mariadb database server, do I have to do mariadb-install-db and/or mariadb-secure-installation on the project folder?
Otherwise it seems that I cannot connect my local db service via PHP (mysqli or pdo).

Enable remote connections for SQL Server 2014 Express

I have a SQL Server 2014 Express installed and I want to allow remote connections. I have read this answer, but I can't find the configuration manager installed on the system.
So my question: where can this configuration be done?
Fire up SQL Server Management Studio, and in the Object Explorer, right-click on the server node, choose Properties.
You should get a dialog something like this (it might look a little bit different in Express, but basically, that's what you should get):
Tick the checkbox Allow remote connections to this server

How to connect to a folder with credentials in remote server

i tried to copy files from specific library in my PC to a library in a remote server,
my question is what i need to use in order to make the connection? which command?
is it should be something like sql connection?
i used impersonation in order to solved this issue
new Impersonator(usr_name_source, domain_source, password_source)

Automatically sync to a web server?

I have a web server with websites on it and I was just wondering if there is anyway of me being able to develop the websites on my Linux (Ubuntu) desktop PC and whenever I hit save it uploads it to the web server?
I hope you understand what I am trying to do.
Thanks
Yes, you can do this, using an advanced IDE.
For example a free and powerful one is NetBeans.
Essentially you need an FTP server on your host machine, then in NB you need to create a new project from external source, set up your FTP connection and that's about it, now every time you hit that ctrl+s, changes will be saved on your server as well.
What you're asking about is called continuous delivery. Jenkins is a popular tool that can automatically test and deploy anything you save (or commit to svn or git).

PHP5, SQL database and web host server

what configurations can make differ between a local host server like phpMyadmin and a web hosting server
is it possible or convenient if a laptop [instead a desktop computer] is converted into a serverHost
is there a php script provided for an automatic backup or sync of files
in a web-based application, which is better? running the codes first in the localhost or directly upload the codes in the webhost ??
waaa .. .i need some response to this
Default configurations on localhost servers are almost the same as the configurations hosting-companies offer.
Ofcourse!
Just google, back-up is always possible.. hosting-companies gives 90% of the time a tool in the controlpanel to backup your website.
Always test on localhost then apply on the webserver and watch the results.

Resources