Elliot DeNolf 2198445df9 Feat/migrations cli (#2940)
* feat: migrate cli call db adapter

* feat: mongoose adapter migrate:create

* feat: implement migrate command

* feat: use mongooseAdapter in test config

* feat: use filename as migration name

* feat: intelligently execute migrations, status table

* feat: implement migrate:down

* feat: implement migrate:reset

* feat: implement migrate:refresh

* feat: move common adapter operations to database/migrations dir

* feat: delete migrations instead of storing ran property

* feat: createMigration cleanup

* feat: clean up logging and add duration to output

* chore: export type, handle graphQL false

* chore: simplify getting latest batch number

* chore: remove existing migration logging noise

* feat: remove adapter export from top level

* chore: fix some db types
2023-07-07 11:02:56 -04:00
2023-06-29 13:27:33 -04:00
2023-07-07 11:02:56 -04:00
2023-07-07 11:02:56 -04:00
2023-07-07 11:02:56 -04:00
2020-12-30 12:08:39 -05:00
2020-08-06 08:49:40 -04:00
2020-12-24 10:28:41 -05:00
2020-12-24 10:28:41 -05:00
2020-12-24 10:28:41 -05:00
2020-12-24 10:28:41 -05:00
2020-12-24 10:28:41 -05:00
2023-06-29 13:27:33 -04:00
2021-08-02 09:15:11 -04:00
2023-02-10 14:21:38 -05:00
2023-01-04 10:11:26 -05:00
2023-07-07 11:02:56 -04:00
2023-06-29 13:27:33 -04:00
2023-06-29 13:27:33 -04:00
2022-03-24 21:14:17 -04:00
2023-06-12 16:36:13 -04:00
2020-12-24 10:28:41 -05:00
2023-06-29 13:27:33 -04:00
2023-06-29 13:27:33 -04:00
2023-07-07 11:02:56 -04:00

Payload Logo

The most powerful TypeScript CMS

Code-first Headless CMS that bridges the gap between CMS and application framework

Explore the docs · Try Live Demo


  GitHub Workflow Status   git commit activity   Discord   npm   Payload Twitter


Payload headless CMS Admin panel built with React

Why Payload?

Payload is a CMS that has been designed for developers from the ground up to deliver them what they need to build great digital products. If you know JavaScript, you know Payload. It's a code-first CMS, which allows us to do a lot of things right:

  • Payload gives you everything you need, but then steps back and lets you build what you want in JavaScript or TypeScript - with no unnecessary complexity brought by GUIs. You'll understand how your CMS works because you will have written it exactly how you want it.
  • Bring your own Express server and do whatever you need on top of Payload. Payload doesn't impose anything on you or your app.
  • Completely control the Admin panel by using your own React components. Swap out fields or even entire views with ease.
  • Use your data however and wherever you need thanks to auto-generated, yet fully extensible REST, GraphQL, and Local Node APIs.

Read more on our website

Features

Request Feature

🚀 Quick Start

Before beginning to work with Payload, make sure you have all of the required software.

From there, the easiest way to get started with Payload is to use the create-payload-app package:

npx create-payload-app

Alternatively, it only takes about five minutes to create an app from scratch.

🗒️ Documentation

Check out the Payload website to find in-depth documentation for everything that Payload offers.

🙋 Contributing

If you want to add contributions to this repository, please follow the instructions in contributing.md.

📚 Examples and Templates

The examples directory is a great resource for learning how to setup Payload in a variety of different ways. There are also a number of templates to help get you going very quickly. If you maintain your own template, consider adding the payload-template topic to your GitHub repository for others to find.

🔌 Plugins

Payload is highly extensible and allows you to install or distribute plugins that add or remove functionality. There are both officially-supported and community-supported plugins available. If you maintain your own plugin, consider adding the payload-plugin topic to your GitHub repository for others to find.

🚨 Need help?

There are lots of good conversations and resources in our Github Discussions board and our Discord Server. If you're struggling with something, chances are, someone's already solved what you're up against. 👇

Like what we're doing? Give us a star

payload-github-star

👏 Thanks to all our contributors

Description
Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
Readme 269 MiB
Languages
TypeScript 95.8%
SCSS 2.9%
JavaScript 1.1%
Dockerfile 0.1%
CSS 0.1%