Set up and run the server (back-end) application on your local machine
- Start a terminal (e.g., Git Bash) on your local machine.
- Go to the "final-project-server" folder, enter the command to install dependencies:
npm install
- Start the server application by entering the command:
npm start
- After the server application is successfully started, its access address is at:
http://localhost:5001
This error is related to the user password you set for your own local Postgres database.
In the server-starter-code/database/utils/configDB.js
file, replace the dBpwd
value with your password for Postgres database.
const dbName = 'starter-server';
const dbUser = 'postgres';
const dbPwd = '<your password>';