Make sure to add an env file with the following information to connect the app to your PostgreSQL server:
USERNAME={your username}
PASSWORD={your password}
HOST="localhost"
PORT=5432
DATABASE={your database}
Run npm install dotenv, and you're set!
Creating a small todo app as I learn PostgreSQL and how to implement JSON Web Tokens
JavaScript
Make sure to add an env file with the following information to connect the app to your PostgreSQL server:
USERNAME={your username}
PASSWORD={your password}
HOST="localhost"
PORT=5432
DATABASE={your database}
Run npm install dotenv, and you're set!