#PayloadCMS
ฝัง
- เผยแพร่เมื่อ 13 ต.ค. 2024
- In this video I'm going to show you how to setup Next.js and Payload to run on the same server, kind of like a monolith app, and then how to use Local API to get and filter the data.
Payload/NextJS Template
bit.ly/42tFYRB
Code used in this video
bit.ly/3MU3MIN
Follow me on Social Media
Github: github.com/iva...
Twitter: / ivan_doric
Thanks for the video!! This is great content!
Glad you like it 😀
This so helpful thank you for your efforts to do such a great tutorial as there are few videos about payload, I hope you continue to do payload tutorial videos please make other one if nextjs app on a separate server from payload server and last if possible you explain the basics of functionality of code folders and files.
Thank you so much😘😘
Thanks. There will be more Payload videos for sure. 👍
wat editor do you use and what theme? same for the terminal
How about for nextjs 13 with the app dir?
No idea 😄
Not able to deploy payload cms and acess admin in vercel
Same here! a lot of hours wasted and I'm still unable to fetch anything from the API.
Are you sure Vercel is even supporting Payload? Since it's a CMS it needs a database. Haven't looked at Vercel in a while, but they didn't have Database options before. You could only host frontend. Mybe that has changed.
@@WatchandLearnTutorials Please teach how to deploy the payload cms app developed on localhost on a server or docker or vercel or netlify as payload service is paid and does not allow free hosting.
i think this goes to show how not intuitive payload is to set up. guy clones a repo instead of setting it up himself
You need to clone the repo etc. only if you want a tight integration with Next.js. Otherwise it's just: npx create-payload-app and follow the prompts.
I've tried to deploy on Vercel, but got error with NEXT_PUBLIC_SERVER_URL, PAYLOAD_PUBLIC_SERVER_URL value, please help me
Did you set up those env variables in Vercels admin? I think you need to do that.