Encore now supports Neon Serverless Postgres across all environments including AWS and GCP. The post walks through building a URL shortener service using the Encore TypeScript SDK and Neon, covering local development setup with Docker, deploying to a staging environment via Encore Cloud, and configuring a production environment with a personal Neon account. Key features highlighted include Neon database branching per environment, automatic migrations, preview environments per pull request, and seamless infrastructure provisioning through the Encore CLI and dashboard.

8m read timeFrom neon.com
Post cover image
Table of contents
PrerequisitesEncore’s Development FlowUsing Neon Serverless Postgres with EncoreCreate and Deploy the URL shortener appView the app in the Encore dashboardDeploy a Prod Environment with NeonTesting the URL shortener with cURLClean upConclusion