Payload Blog Template? (Posts)

default discord avatar
Taun
2 weeks ago
15

Hi. Is there a repo available that I can grab the back-end for blog posts? I see Payload website has a 'Posts' collection - I assume I can use these files. If a Payload team member sees this - ideally create a 'blog template' repo for easy searchability.

  • discord user avatar
    jmikrut
    Payload Team
    2 weeks ago

    hey @Taun this is a good call. We're on it



    @patrikkozak please get this on the radar to build

  • discord user avatar
    patrikkozak
    Payload Team
    2 weeks ago

    On my radar 👍

  • default discord avatar
    Taun
    2 weeks ago

    Thanks! For practicality, more people using it will probably be deving a portfolio too, so if it can include a portfolio that'll be great. Portfolio Blog Template. Sweet.

  • default discord avatar
    jamestucker
    2 weeks ago

    Would also love to see this

  • default discord avatar
    noheadphones
    2 weeks ago

    Is the blog template in the starter not

    this

    ?



    @Taun in the meantime if it helps with your use case, when you run

    npx create-payload-app

    you can choose a blog starter



    it creates Posts, Categories and Tags

  • default discord avatar
    geisterfurz007
    2 weeks ago
  • discord user avatar
    jacobsfletch
    Payload Team
    2 weeks ago

    You can also check out the official website template, which includes pages and categories. You could easily add posts or projects to this to turn it into a blog or portfolio. This repo has a bit more than the blog starter, like SEO, a layout builder and more, so it may be worth looking into:

    https://github.com/payloadcms/template-website


    If anything we should extend this template to include a blog by default, and write some language into the README describing how to leverage this same template for all three use cases

  • default discord avatar
    jamestucker
    2 weeks ago

    The front end for the template-website does not currently exist;

    https://github.com/payloadcms/template-website-nextjs

    Would be awesome to see this especially, just to see how it is properly done

  • discord user avatar
    jacobsfletch
    Payload Team
    2 weeks ago

    Ah yea that is still in the works, also mentioned here

    https://discord.com/channels/967097582721572934/1105504795504160770

    but should be able to escalate that work based on high demand

  • default discord avatar
    jamestucker
    2 weeks ago

    Awesome bro! A big part of the appeal of using payloadcms is not only the framework itself, but to learn how the professionals build and organize their code, it's great to see. Take care

  • default discord avatar
    Nball
    2 weeks ago

    1,000% agree. I am muddling my way through, but seeing how it's done correctly can really amplify learning. I'm happy to document my learnings but doubt they're worth following as an example. 😂

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.