Learn SQL by Building a Student Database: Part 1

Student Database: Part 1

I am was trying to TRUNCATE the three files: majors_courses, students, and majors required at this point.
Since then, I cannot login to the students database but get an error message. I also see that there is a folder which is in red text . .freeCodeCamp and a file in the folder: .mocharc.json
I get the following error message after trying to login: codeally@64b96beabd5e:~/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?

I have tried resetting the lesson and also the soft reset but nothing changed. I need some help.
Screen print attached.