Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickw1/mysqlview

An extremely simple Node.js and Express-based visualiser for a MySQL database.
https://github.com/nickw1/mysqlview

Last synced: about 2 months ago
JSON representation

An extremely simple Node.js and Express-based visualiser for a MySQL database.

Awesome Lists containing this project

README

        

# Node MySQL and SQLite visualiser

An extremely simple Node and Express-based visualiser and editor for a MySQL or SQLite database.
Settings should be specified in `.env` (an example is supplied):

- `DB_HOST` - database host machine, usually `localhost`
- `ID_COLUMN` - the column to use for the ID (default: `id`)
- `TABLES` - the tables you want to visualise in JSON array format, e.g

```
TABLES=["wadsongs","ht_users"]
```

If `TABLES` is not specified, all tables in the database will be shown.

**Limitation**: It is assumed that all tables use the same column name for the ID, specified with the `ID_COLUMN` setting.

## Installing and running

```
npm install
npm start
```

then access via

```
http://localhost:3100
```