amphora-storage-postgres

A storage module for Amphora that leverages Postgres and Redis

Usage no npm install needed!

<script type="module">
  import amphoraStoragePostgres from 'https://cdn.skypack.dev/amphora-storage-postgres';
</script>

README

Amphora Postgres

A storage module for Amphora using Postgres & Redis

CircleCI Coverage Status

Installation & Usage

First install the module:

$ npm install -S amphora-storage-postgres

Then pass the module into Amphora as the value for the storage property.

amphora({
  ...
  storage: require('amphora-storage-postgres')
  ...
})

At startup time the module will try to connect to Postgres and Redis and default in a dev environment. Make sure to see the Environment Setup document for how to configure the clients for production.

License

MIT