---
title: "Deploy HappyView (deprecated)"
description: "A lexicon-driven ATProto AppView."
category: "Starters"
url: https://railway.com/deploy/happyview-1
---

# Deploy HappyView (deprecated)

A lexicon-driven ATProto AppView.

**[Deploy HappyView (deprecated) on Railway](https://railway.com/template/happyview-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/happyview-1/manifest.json

- **Creator:** Trezy's Projects
- **Category:** Starters
- **Total deploys:** 15

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/gamesgamesgamesgamesgames/happyview-postgres:latest

### Tap https://freepnglogo.com/images/all_img/bluesky-logo-495a.png

- **Image:** ghcr.io/gamesgamesgamesgamesgames/tap:latest

### HappyView https://raw.githubusercontent.com/gamesgamesgamesgamesgames/happyview/main/design/face.png

- **Image:** ghcr.io/gamesgamesgamesgamesgames/happyview:1

### AIP https://github.com/gamesgamesgamesgamesgames/aip/raw/main/aip.png

- **Image:** ghcr.io/gamesgamesgamesgamesgames/aip:2.2.4-dev.2

## Documentation

# Deploy and Host HappyView on Railway

> This template deploys HappyView v1, which is no longer supported. Depending on which database you prefer, our updated templates are available here:
> * [HappyView w/ SQLite](https://railway.com/deploy/happyview-2-sqlite-1?referralCode=0QOgj_)
> * [HappyView w/ Postgres](https://railway.com/deploy/happyview-2-postgresql)

HappyView is a lexicon-driven [ATProto](https://atproto.com/) [AppView](https://atproto.com/guides/glossary#app-view). Upload lexicon definitions at runtime and HappyView dynamically generates XRPC query and procedure endpoints, indexes records from the network, and proxies writes to users' PDSes — no restart required.

## About Hosting HappyView

Hosting HappyView requires a Postgres database, an [AIP](https://github.com/graze-social/aip) instance for OAuth 2.1 authentication, and a [Tap](https://github.com/bluesky-social/indigo) instance for syncing records from the AT Protocol network. This template deploys all four services pre-configured to work together. After deployment, you'll need to assign public domains to HappyView and AIP, set your admin DID, and generate signing keys for AIP. See the [quickstart guide](https://github.com/graze-social/happyview/blob/main/docs/quickstart.md) for setup steps.

## Common Use Cases

- Building custom ATProto applications with their own record types and queries
- Indexing and querying AT Protocol records without running a full relay
- Hosting a backend for ATProto clients that need OAuth authentication and record management

## Dependencies for HappyView Hosting

- PostgreSQL 17+
- [AIP](github.com/graze-social/aip) (ATProto Identity Provider) for OAuth 2.1 with PKCE and DPoP
- [Tap](https://github.com/bluesky-social/indigo/blob/main/cmd/tap/README.md) for syncing AT Protocol records from the network

### Deployment Dependencies

- [HappyView documentation](https://github.com/graze-social/happyview/blob/main/docs/quickstart.md)
- [AIP configuration guide](https://github.com/graze-social/aip/blob/main/CONFIGURATION.md) (signing key generation)
- [AT Protocol specification](https://atproto.com)

## Why Deploy HappyView on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying HappyView on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/happyview-1
