UNPKG

nodly

Version:

Nodly is an interactive CLI for scaffolding modern Node.js/Express.js backend projects with instant setup for databases, mailers, queues, sockets, and more. Skip boilerplate and start building features fast.

10 lines (6 loc) 162 B
import pg from 'pg'; const pool = new pg.Pool({ connectionString: process.env.POSTGRES_URL, }); console.log('PostgreSQL pool created'); export default pool;