va-database

database interface for vacancy-aggregator

Usage no npm install needed!

<script type="module">
  import vaDatabase from 'https://cdn.skypack.dev/va-database';
</script>

README

va-database

Typescript version of the database interface for vacancy-aggregator stack. It uses the pg-promise package to handle the postgres database connections and run the prepared queries.

Postgres database dump (dataless) for restoration in the database.sql file.

Accesses the following self-explanatory environment variables to connect to the database: DB_HOST, DB_PORT, DB_DATABASE, DB_USER, DB_PASSWORD