Building a Dynamic Website with Next.js and Strapi CMS - A Step-by-Step Tutorial

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 23

  • @CodingAfterThirty
    @CodingAfterThirty  4 месяца назад +2

    I hope you enjoyed this video. I started this tutorial using Strapi 4, but Strapi 5 is not on the horizon. So, I am going to make all future videos using Strapi 5, which is even more awesome.

    • @CZiNTrPT
      @CZiNTrPT 3 месяца назад +1

      -not +now?

  • @limesta
    @limesta 4 месяца назад +3

    Coming from WordPress, Strapi seems way more powerful, and I'm glad you dropped this

  • @limesta
    @limesta 4 месяца назад +1

    lmao dropped 7 days ago, well done and readable, thank you!

  • @SanjeevKumar-om5cq
    @SanjeevKumar-om5cq 4 месяца назад +1

    Thank you so much for the video, How SSG work with Strapi, can you please share one video

    • @CodingAfterThirty
      @CodingAfterThirty  3 месяца назад +1

      Do you mean how to rebuild your site with updated changes when adding new content to Strapi? You can accomplish this with Strapi webhook to retrigger your project rebuild.
      Check out this blog post strapi.io/blog/trigger-deployments-using-vercel-deploy-hook-and-strapi-webhook.
      But this is a good topic for a video, will add it to my list.

    • @SanjeevKumar-om5cq
      @SanjeevKumar-om5cq Месяц назад

      @@CodingAfterThirty Thank you

  • @cjhswe81
    @cjhswe81 4 месяца назад +2

    Wow, this is a lot more complicated than for example Prismic. I just want to be able to fetch data easily. But it's hard to find a straightforward explanation. It was glosed over in this video again. Also the interactive query builder seems insane to have to use every time.

    • @CodingAfterThirty
      @CodingAfterThirty  4 месяца назад

      You don't have to use it all the time. Once you understand how it works, you can write the queries yourself.
      In terms of the part that you think I glossed over.
      What exactly are you having a hard time understanding that I can explain better?
      Let me know and will help you out.

    • @cjhswe81
      @cjhswe81 4 месяца назад +1

      @@CodingAfterThirty Thanks for your reply, I have read up on Strapi during the day and I managed to solve what my main problem was, writing the fetch api files. But I can fetch the data now and I understand, I think, how the queries are structured, and I used the query builder to double check. So far so good, but I am sure many more questions will arrise.

    • @CodingAfterThirty
      @CodingAfterThirty  3 месяца назад

      @@cjhswe81 Glad you were able to figure it out.

  • @ron-almog
    @ron-almog 3 месяца назад +1

    When building a nextjs website with a strapi backend, what are the options for user authentication and authorization? can we take a advantage of the strapi built in mechanism in our nextjs app?
    Please share any ideas or links on how to do that. thanks!

    • @CodingAfterThirty
      @CodingAfterThirty  3 месяца назад +1

      You can checkout the following post covering this topic strapi.io/blog/epic-next-js-14-tutorial-part-4-how-to-handle-login-and-authentication-in-next-js

  • @BahozMMA
    @BahozMMA Месяц назад +1

    Thanks for the tuto, can we have the link of github repo for finish the tutorial ?

    • @CodingAfterThirty
      @CodingAfterThirty  Месяц назад

      I am planning an updated tutorial using Strapi 5, but I did not realize that I had not finished this one.
      If you have any question or items you would like me to cover met me at know.
      Also, do you do MMA? That is cool.

  • @SanjeevKumar-om5cq
    @SanjeevKumar-om5cq Месяц назад +1

    What if I have a very large website? Do I need to manually update the navigation bar every time we make changes? Also, if I change a page name, can the navbar be updated automatically? Navbar with parent option

    • @CodingAfterThirty
      @CodingAfterThirty  Месяц назад +2

      There are many ways to accomplish this, and it depends on what you want to show in the nav bar. Instead of doing what I did here, your nav bar can be based on your collection.
      So whenever you add an item, like a page with a specific tag, your front end will automatically update your nav bar based on your new content.
      That way, you don't have to do it manually like I do here.
      You can also combine the two, for instance, you can use the first approach to specify categories for your nav bar. And on the front end fetch the items by category to populate the menu items.

  • @kalininmax
    @kalininmax 3 месяца назад +1

    Ty for your videos. I watched Strapi v4 Crash Course and I like it, it's very helpful!
    Could you show how to make feedback form. I want to submit the form on my site and send emails by Strapi, is it real?

    • @CodingAfterThirty
      @CodingAfterThirty  3 месяца назад

      That is definitely possible, but you must set up your mail server or use an email provider like SendGrid.
      But I will add it to the list. Most likely, we will have an example using Strapi 5.

  • @nickmark8074
    @nickmark8074 Месяц назад +1

    part 2?

    • @CodingAfterThirty
      @CodingAfterThirty  Месяц назад +1

      It's on the way. 😅 been busy at work. Back to recording content for my channel this week.

    • @nickmark8074
      @nickmark8074 Месяц назад

      @@CodingAfterThirty Can you share the Github repo with the full project, that way I can learn from that?