https://docs.npmjs.com/getting-started/installing-node
https://www.npmjs.com/package/typescript
download and run npm install
export DB_USER='' DB='' DB_PASS='' DB_HOST='' DB_PORT='' DB_MAX_CLIENTS='' DB_IDLE_TIMEOUT_MS=''
this can also be done by creating a .env
file in the root of this project see .env.example
for a reference
Run the following sql files: - caregiver.sql - patient.sql - visit.sql
run tsc
you can adjust transpiling settings in tsconfig.json
node build/app.js
http://localhost:3000/healthcheck and root return healthcheck