Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 541 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 541 Bytes

cs2102team20-crowd-funding-backend

Install dependencies

npm install

Project run

node bin\www

How to populate the database

  1. Configure your .env file: DATABASE URL=postgres://username:password@host address:port/database name.
  2. Log into your postgres account.
  3. Copy the SQL code from create_tables.sql and run it.
  4. Copy the SQL code from create_functions.sql and run it.
  5. Copy the SQL code from populate_db.sql and run it.
  6. Copy the SQL code from create_triggers.sql and run it.