Skip to content

Latest commit

 

History

History

Payload 3 with Custom Server

Run the following command to create a project from the example:

  • npx create-payload-app --example custom-server

Before starting the server, ensure MongoDB is running and DATABASE_URL points to it (for example mongodb://127.0.0.1/payload-example-custom-server).

Uses a Next.js Custom Server with express.

Made from official examples/custom-server from Next.js repository.