streamingfast / substreams

Powerful Blockchain streaming data engine, based on StreamingFast Firehose technology.
Apache License 2.0
164 stars 45 forks source link

Substreams Sink Postgres tutorial #107

Closed maoueh closed 1 year ago

maoueh commented 1 year ago

We had content in the initial Sink documentation about Substeams Sink Databases, we should bring it back. It should give general database consumptions guidelines (the expected output format is the same between Postgres and mongodb for example). Most of the concepts are the same.

The tutorial should give clear information on how one can take a Substreams and transform it so it's consumable by Postgres. This is a more advanced tutorial, so we give quick overview of the commands with quick explanation. We give instructions from zero to hero. There should be validation instructions at the end (some SQL queries mainly) to ensure everything is working as expected.

Here a first draft outline:

seanmooretechwriter commented 1 year ago

The final outline and approach used for the files-sink tutorial should be followed for this documentation. Refer to the following link to find content and the process for creating that page/doc.

https://github.com/streamingfast/substreams/pull/116

seanmooretechwriter commented 1 year ago

Initial content started and draft created. New branch made for PR available at: https://github.com/streamingfast/substreams/pull/147