# Building Production API Services with Encore, TypeScript, and Neon Serverless Postgres

DevFeed: [Building Production API Services with Encore, TypeScript, and Neon Serverless Postgres](<https://devfeed.tech/articles/building-production-api-services-with-encore-typescript-and-neon-serverless-postgres-5108.md>)

Original publisher: [Read original article](<https://neon.com/blog/building-production-api-services-with-encore-typescript-and-neon-serverless-postgres>)

Author: Stephen Siegert

Published: 2024-05-08T13:41:20Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [backend-development](<https://devfeed.tech/topics/backend-development.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Amazon Web Services (AWS)](<https://devfeed.tech/topics/amazon-web-services-aws.md>)

Tags: [amazon-web-services](<https://devfeed.tech/tags/amazon-web-services.md>), [api](<https://devfeed.tech/tags/api.md>), [backend-development](<https://devfeed.tech/tags/backend-development.md>), [building](<https://devfeed.tech/tags/building.md>), [cli](<https://devfeed.tech/tags/cli.md>), [cloud-infrastructure](<https://devfeed.tech/tags/cloud-infrastructure.md>), [community](<https://devfeed.tech/tags/community.md>), [docker](<https://devfeed.tech/tags/docker.md>), [gcp](<https://devfeed.tech/tags/gcp.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

This tutorial demonstrates how to build and deploy a production URL Shortener Web Service using Encore, its TypeScript SDK, and Neon Serverless Postgres. It covers local development, staging, production deployment, and integration with cloud environments including AWS and GCP.

## Source excerpt

Starting today, Encore now supports using Neon Postgres for all Encore environments, including those in the cloud on Amazon Web Services (AWS) and Google Cloud Platform (GCP). "This means you can connect your Neon account to use highly scalable serverless Postgres for all your En...