vuongpd95 / dbapp

ExpressJS & node-postgres demo app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup the environment variables

Create the .env file in dbapp

cd dbapp
touch .env

Add these variables to your .env file

PORT=9000
DB_USER='postgres'
DB_PASSWORD='your-password'
DB_HOST='localhost'
DB_PORT=5432
DB_NAME='postgres'

Start the app

node app.js

About

ExpressJS & node-postgres demo app


Languages

Language:JavaScript 59.4%Language:Liquid 33.0%Language:Dockerfile 7.6%