Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 694 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 694 Bytes

P2P_Books

Pre-requisites: npm, PostgreSQL

Setup:

  • In the SQL_Files folder, open a psql shell, and after logging in, execute the command: \i sql_exec.sql
  • In the Server_files folder, create a file named ".env" and fill it with the contents as specified in DB_files/index.js
  • Then open a terminal, and execute the command: npm install
  • Finally to start the back end server, execute: npm run nmon
  • In the react_files folder, open a terminal, and execute the command: npm install
  • Then to start the React app, execute: npm start