Skip to content

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Final Year Project

My doom

Instructions for Various Segments of the Project

Frontend

  1. Navigate to the frontend directory:
    cd frontend
  2. Start the frontend server:
    npm start

Backend

cargo sqlx prepare

To create the database file.
2. ```sh
cargo run

to build and run the project.

Database

  1. Start or stop the database:

    pg_ctl start
    pg_ctl stop

    Or register it as a service by running:

    pg_ctl register -N PostgreSQL

    from an elevated shell.

  2. Default superuser login:

    • Username: postgres
    • Password: redacted
  3. Backup the database:

    pg_dump -U postgres -W -F c -b -v -f db_backup.dump social_media_db
  4. Restoring backup:

    pg_restore -U postgres -W -d social_media_db -v db_backup.dump

Resources

About

My doom

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages