Skip to main content

Getting started

If you are starting a new project and do not want to set up a database, you can use our default Postgresql implementation. The default implementation implements all the resolvers and functions you need to get up and running very quickly.

You should only use this module if you do not have an existing database set up. This module is purely intended for projects starting from scratch.

Note

This is a server side module and will only work in a Node environment. This will not work in the browser!

Installation and requirements#

This module requires that you have access to an empty postgres database. We recommend using the postgres docker image.

This also requires you to integrate the server and client modules.

To install the module:

yarn add @pdftron/collab-db-postgresql

Integration#

To integrate the default database, follow the following guides (in this order):