# Payload

Payload is a self-hosted development app. A powerful, flexible, and developer-friendly content management system that prioritizes customization and scalability.

Canonical page: https://ourlocalhost.com/app/7842/payload

## Description

A powerful, flexible, and developer-friendly content management system that prioritizes customization and scalability.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

80/100 (Excellent), based on 3 of 4 factors.
- Maintained: 100 (last commit 7 days ago)
- Popular: 93 (46,026 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)

## Links

- Official website: https://payloadcms.com
- GitHub: https://github.com/payloadcms/payload
- Documentation: https://payloadcms.com/docs

## Common questions

### What environment variables do I need to set before Payload will start?

Set SERVER_URL and DATABASE_URL in your .env file. Without a valid DATABASE_URL pointing at your MongoDB or PostgreSQL database, Payload won't start or save anything.

### Should I set up Payload manually or use create-payload-app?

Use 'npx create-payload-app' and answer the prompts to get a working app set up automatically. Doing it by hand means wiring up a database and config yourself, which is easy to get wrong.

### Can I deploy Payload somewhere other than my own server?

Yes, Payload deploys anywhere, including serverless with one-click options on Vercel (with Neon database and Vercel Blob storage) and Cloudflare (with Workers, R2 for uploads, and D1 database), or to Netlify.

### Do I have to build my frontend separately from Payload?

No, since Payload 3.0 it's Next.js native and can install directly into your existing /app folder, combining your frontend and backend in one place. The website template demonstrates this with a Tailwind frontend.

### Which template should beginners start with?

Start with the website template by running 'pnpx create-payload-app@latest -t website'. It shows how to do everything including custom Rich Text blocks, on-demand revalidation, and live preview.

## Alternatives

- Directus: An Instant App & API for your SQL Database.
- Strapi: Strapi is an open-source headless CMS that turns visual content models into ready-to-use APIs, letting developers build content-powered app…
- WordPress: WordPress is an open-source content management system (CMS) and publishing platform used to create and manage websites, blogs, and online p…
- bknd.io: Bknd is a lightweight, infrastructure-agnostic backend system that runs in any JavaScript environment.

---
Source: Our Local Host (https://ourlocalhost.com/app/7842/payload), the self-hosted and open-source app directory.
