◁ projects

nodeMiniAdmin

                           

About nodeMiniAdmin
Its a minimal and lightweight tool for quick and easy access to MySQL databases.
Focused on usability and simplicity. Written in Javascript, its a single-file app and requires Node.js to run. Its very easy to setup and use.
Why use nodeMiniAdmin?
-Ease of use
-No framework used
-Easy to setup
-Portable - everything in a single js file
-Extremely lightweight
How to install
1. Download or clone this repo to a directory of your choice.
$ git clone https://github.com/patil-rahuls/nodeMiniAdmin.git
2. Install Node.js (if you haven't already) on your machine.

3. Open a terminal in the directory containing the file 'nma.js' and run -
$ node nma.js
4. It may prompt you to install the sync-mysql module. Please install it and then repeat step 3. [Update v2.0] On the first run, the script will automatically install all required dependencies and launch the app.

5. To run the app, open your browser and Navigate to - https://localhost:3000/index.
Screenshots
nodeMiniAdmin Result Screen
1. nodeMiniAdmin Result Screen

nodeMiniAdmin Show DB Tables Screen
2. nodeMiniAdmin Show DB Tables Screen

nodeMiniAdmin Query Validation Screen
3. nodeMiniAdmin Query Validation Screen

nodeMiniAdmin Add MySQL Connection Screen
4. nodeMiniAdmin Add MySQL Connection Screen
Links
Live Demo Link coming soon!
Github Page
Troubleshooting
1. If port 3000 is already in use or blocked, you can free it up using the following command -

linux users:
$ sudo fuser -k 8000/tcp
OSX users:
$ sudo lsof -t -i tcp:8000 | xargs kill -9

2. If you encounter file I/O errors or exceptions, try running the app with elevated privileges (e.g., as an administrator/sudo) -
$ sudo node nma.js