Movies example with Payload 3.0
This repo showcases Payload 3.0, its support for Postgres (as well as MongoDB), its asset management system and admin dashboard, as well as simple deployment to Vercel.
cp .env.example .env.development.local
./start-database.sh
Note: You can change the connection string in the .env.development.local file to point to a different database, you will also want to change it in the start-database.sh script.
openssl rand -base64 32
and set that value in the .env.development.local file.Get a TMBD API key and add it to the .env.development.local file. You will need an account on TMDB. It's all free.
pnpm i
pnpm run payload migrate:create initial
pnpm run payload migrate
pnpm dev