pg-promise-demo
Version:
Advanced demo of using pg-promise.
21 lines (12 loc) • 749 B
Markdown
## JavaScript implementation of pg-promise-demo
This implementation uses ES2020 syntax, and requires Node.JS v14.0.0 or later.
### Prerequisites
* Node.js v14.0.0 or later
### Installation
* Set up an empty test database, according to the connection details in [db-config.json](https://github.com/vitaly-t/pg-promise-demo/blob/master/db-config.json),
which you can also change to fit your own test environment.
* Install Node.js dependencies, by running `npm install` from the project's root folder.
### Starting
* Navigate into folder `JavaScript`, and run the HTTP service with `node index.js` command.
* Proceed with [the steps on the main page].
[steps on the main page]:https://github.com/vitaly-t/pg-promise-demo