• Stars
    star
    298
  • Rank 134,830 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 1 year ago
  • Updated 4 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The official Next.js website for payloadcms.com

Payload CMS Website

This is the repository for Payload's official website. It was built completely in public using Payload itself, more on that here.

Payload headless CMS website

This site showcases lots of cool stuff like how to use Payload's GraphQL API to its fullest extent, how to build a super dynamic light / dark mode into a Next site without any first-load flickering, how to render remotely stored docs from MDX to Next.js pages, how to use Stripe to build a custom SaaS integration, and much more.

โœจ Tech stack

  • Payload (obviously)
  • TypeScript
  • Next.js 13 and its new App Router
  • SCSS Modules
  • GraphQL
  • MDX for docs
  • Stripe for Payload Cloud

โญ The CMS

Payload is leveraged for everything that this site does, outside of its documentation which is all stored as Markdown in the Payload repo on GitHub. The CMS powering this site is completely open-source and can be found here.

Both this repo and the CMS repo can be used as great examples to learn how to build Payload projects at scale.

โ˜๏ธ Payload Cloud

Payload Cloud is out! This is a one-click integration to deploy production-ready instances of your Payload apps directly from your GitHub repo, read the blog post to get all the details. The entire frontend of Payload Cloud has been built in public and is included within this repo ๐Ÿ˜ฑ.

๐Ÿš€ Running the project locally

To get started with this repo locally, follow the steps below:

  • Clone the repo
  • yarn
  • Run cp .env.example .env to create an .env
  • Fill out the values within your new .env, corresponding to your own environment
  • Run yarn dev
  • Bam

Hosts file

The locally running app must run on local.payloadcms.com:3000 because of http-only cookie policies and how the GitHub App redirects the user back to the site after authenticating. To do this, you'll need to add the following to your hosts file:

127.0.0.1 local.payloadcms.com

On Mac you can find the hosts file at /etc/hosts. On Windows, it's at C:\Windows\System32\drivers\etc\hosts:

More Repositories

1

payload

The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
TypeScript
17,486
star
2

next-payload

A utility to deploy Payload serverlessly within a Next.js app
TypeScript
306
star
3

payload-3.0-demo

The official demo for Payload 3.0
TypeScript
227
star
4

nextjs-custom-server

A TypeScript boilerplate for combining Payload and Next.js into a single Express server
TypeScript
177
star
5

plugin-cloud-storage

The official cloud storage plugin for Payload
TypeScript
127
star
6

website-cms

The CMS behind payloadcms.com
TypeScript
123
star
7

public-demo

The official public demo for Payload
TypeScript
111
star
8

plugin-seo

The official SEO plugin for Payload
TypeScript
88
star
9

remix-server

Monorepo template with Remix and Payload
TypeScript
84
star
10

next-payload-demo

The official demo for next-payload
TypeScript
81
star
11

template-ecommerce

TypeScript
69
star
12

custom-website-series

A fully custom website built with Payload and Next.js
TypeScript
65
star
13

plugin-form-builder

The official form builder plugin for Payload
TypeScript
65
star
14

template-ecommerce-nextjs

TypeScript
52
star
15

plugin-stripe

The official Stripe plugin for Payload
TypeScript
45
star
16

plugin-search

The official search plugin for Payload
TypeScript
44
star
17

plugin-nested-docs

The official nested docs plugin for Payload
TypeScript
30
star
18

payload-admin-bar

An admin bar for React apps using Payload
TypeScript
21
star
19

migrate-mongo-example

Payload project using migrate-mongo to demonstrate migrations
JavaScript
20
star
20

plugin-password-protection

The official password protection plugin for Payload
TypeScript
18
star
21

custom-field-guide

TypeScript
18
star
22

plugin-zapier

The official Zapier plugin for Payload
TypeScript
17
star
23

access-control-demo

A demo of the powerful access control measures built into Payload
TypeScript
16
star
24

template-website

TypeScript
16
star
25

plugin-redirects

The official redirects plugin for Payload
TypeScript
15
star
26

vercel-deploy-payload-postgres

One-click deployment template of Payload 3.0 on Vercel
TypeScript
15
star
27

plugin-sentry

The official Sentry plugin for Payload
TypeScript
15
star
28

plugin-template

A template for creating your own Payload plugin
JavaScript
14
star
29

template-website-nextjs

13
star
30

enterprise-website-cms

An enterprise website CMS that can show how to build large websites on a design system, at scale
TypeScript
12
star
31

create-payload-app

CLI for creating a new Payload project
12
star
32

next-auth-frontend

TypeScript
11
star
33

game-admin-guide

An entire admin system for an imaginary game
TypeScript
10
star
34

plugin-relationship-object-ids

A Payload plugin to store all relationship IDs as ObjectIDs
JavaScript
8
star
35

next-auth-cms

TypeScript
7
star
36

plugin-cloud

The official Payload Cloud plugin
TypeScript
6
star
37

enterprise-website

An enterprise website frontend that can show how to build large websites on a design system, at scale
TypeScript
6
star
38

speed-test

A speed test for use in comparisons.
TypeScript
5
star
39

drizzle-test

TypeScript
5
star
40

discord-bot

A bot to help manage Payload's Discord
TypeScript
5
star
41

db-mongoose

The official Mongoose / MongoDB database adapter for Payload
JavaScript
5
star
42

wp-to-payload

A head-to-head comparison about what it's like to build in WP and ACF vs. Payload.
PHP
4
star
43

form-builder-example-website

Boilerplate Next.js website for the official Payload CMS Form Builder plugin
TypeScript
4
star
44

rich-text-with-markdown

TypeScript
4
star
45

eslint-config

The official Payload ESLint config
JavaScript
4
star
46

blog-rbac

JavaScript
2
star
47

blank

1
star
48

template-blank

TypeScript
1
star
49

typescript-jest-vscode

A tutorial for how to set up Payload with TypeScript, Jest, and VSCode Debugging
TypeScript
1
star