---
title: "Deploy Next-BetterAuth-Drizzle"
description: "Deploy and Host Next-BetterAuth-Drizzle with Railway"
category: "Starters"
url: https://railway.com/deploy/next-betterauth-drizzle
---

# Deploy Next-BetterAuth-Drizzle

Deploy and Host Next-BetterAuth-Drizzle with Railway

**[Deploy Next-BetterAuth-Drizzle on Railway](https://railway.com/template/next-betterauth-drizzle)**

- **Creator:** r4k3labs's Projects
- **Category:** Starters
- **Total deploys:** 10

## Template content

### NextJS App

- **Source:** r4k3labs/s3-fin
- **Start command:** `pnpm run start`
- **Public domain:** Yes

### Redis https://devicons.railway.app/i/redis.svg

- **Image:** bitnami/redis:7.2.5

### postgres-17 https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### Drizzle Studio https://gateway.drizzle.studio/favicon.svg

- **Image:** ghcr.io/drizzle-team/gateway:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Next-BetterAuth-Drizzle on Railway



## About Hosting Next-BetterAuth-Drizzle

An simple starter template , that uses next js for both frontend and apis, Postgres for db and better auth for authentication

## Common Use Cases

- Saas starter

## Dependencies for Next-BetterAuth-Drizzle Hosting

- `GOOGLE_CLIENT_ID`
- `GOOGLE_CLIENT_SECRET`
- `RESEND_API_KEY`

if you want to use social login and email , you have to add these values after deployment

### Deployment Dependencies

There is no deployment dependencies for this template ,everything is already configured to work out of the box, however if you want to expose postgres and redis over public tcp connection, you have to do it manually inside the settings

## Why Deploy Next-BetterAuth-Drizzle 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 Next-BetterAuth-Drizzle 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

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/next-betterauth-drizzle
