Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b5d6aaf

Browse files
Update README.md
1 parent 1b80a15 commit b5d6aaf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ NodeJs & PostgreSQL Crud Application
3636
└── package.json
3737
```
3838

39+
## Database Connections - PostgreSQL
40+
41+
Create Database and use the credentials at `connectionStrings`.
42+
43+
```
44+
const { Client } = require('pg');
45+
var connectionString = "postgres://postgres:postgres@localhost:5432/database";
46+
47+
const client = new Client({
48+
connectionString: connectionString
49+
});
50+
```
51+
3952
## Getting started
4053

4154
- Download the project’s zip

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /