Guides
Deploy an app with Postgres
Deploy a small notes API that keeps its data in a Postgres datastore.
Ferry runs a Postgres datastore with the name notes-db.
1 / 4
In this guide, you deploy a small notes API that uses Postgres. You create the database. Then you give its connection string to the app with a reference.
The main command
ferry up notes -e 'DATABASE_URL=${{datastore.notes-db.connectionString}}' --followBefore you start
You need a Ferry server that runs, and the ferry CLI with a login to it. See the Quickstart.