PS accessibility questionnaire app with Houston, Boston and Toronto intern teams
npm install ps-accessibility-questionnaireTable Creation.txt into the Query Tool and run.
Table Populate.txt into the Query Tool and run.
Insert_from_excel_test_info.sql into the Query Tool and run.
credentials.js within the backend folder and enter this code:
javascript
const Pool = require('pg').Pool
const pool = new Pool({
user: 'postgres',
host: 'localhost',
database: '[DATABASE_NAME]',
password: '[YOUR_PASSWORD]',
port: 5432,
});
module.exports = pool;
`
Modify the database and password field accordingly.
To download the dependencies:
run npm i express pg multer in the command line.
To run the server:
run node server.js` in the command line.