This starter template is tailored for quick setup and includes integration with Payload CMS 3.0, Tailwind CSS and shadcn for styling, TypeScript, Bun as the package manager, and PostgreSQL as the database. It's ideal for those looking to jumpstart their projects.
See the official examples from payload Examples Directory for details on how to use Payload in a variety of different ways.
To spin up the project locally, follow these steps:
- First clone the repo
- Then
cd YOUR_PROJECT_REPO && cp .env.example .env.local
- Install deps
bun i
- Next
docker-compose up
, to start the postgres db - Next
bun dev
- Now
open http://localhost:3000/admin
to access the admin panel - Create your first admin user using the form on the page
- Go to
http://localhost:3000
and the user email should now be listed on the page
That's it!