Final Project Server

contributors

Amira Abdelmohsen

Dinasty Kelly

Tahsin Hossain

Mike Esquivel


Set up and run the server (back-end) application on your local machine

  1. Start a terminal (e.g., Git Bash) on your local machine.
  2. Go to the "final-project-server" folder, enter the command to install dependencies: npm install
  3. Start the server application by entering the command: npm start
  4. After the server application is successfully started, its access address is at: http://localhost:5001

Common Errors You May Encounter

Error: password authentication failed for user "postgres"

This error is related to the user password you set for your own local Postgres database.

Solution:

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>';