Learn SQL Student Database Part 1

I am at the part of the course where I have tried to TRUNCATE majors-courses, students, majors tables to delete their contents.
The result is now that I can’t login. See screen print attached. There are additional folders showing with the freecodecamp folder is in red text. The .mocharc.json D file is also in red text.
There is an error message in the terminal:
codeally@220dd19d3500:~/project$ psql --username=freecodecamp --dbname=postgres
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory
Is the server running locally and accepting connections on that socket?