Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nickw1/mysqlview
- Owner: nickw1
- License: gpl-3.0
- Created: 2022-04-16T11:26:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T10:02:13.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T12:06:08.104Z (about 2 months ago)
- Language: JavaScript
- Size: 58.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```