Make a simple food blog using React and Contentful

Поділитися
Вставка
  • Опубліковано 21 сер 2024
  • Buy me a Coffee: paypal.me/thou...
    In this video I want to share my knowledge on how to use Contentful and React to make a simple single page blog application. Contentful gives you the platform to create your content for your website or an app. It also gives you the APIs that you can use to fetch the content and consume in React or any application.
    Link to the GIT Repository: bitbucket.org/...
    Link to the finished product: eatit.netlify....
    I have uploaded a new video on my channel recently that shows how to use React and Contentful using functional components, hooks, async await and a lot more. Here's a link to the new video. I hope it will be helpful: • Make a complete websit...

КОМЕНТАРІ • 72

  • @gentlechrisoa
    @gentlechrisoa Рік тому +1

    just the exact thing I was looking to know. Great video man, thanks !

  • @dmitriystoyanov933
    @dmitriystoyanov933 3 роки тому +3

    Today my team lead said to me that i must starting work with contentful. but i never worked with it. This video is very helpfull! God bless you, dude!)

    • @thoughtspan
      @thoughtspan  2 роки тому

      Glad it was helpful! Thanks for Watching :)

  • @MarcoLopez-wy6zx
    @MarcoLopez-wy6zx Рік тому +1

    Splendid! Now I can start making my company's blog site. Thank you so much mah dude.

  • @JoaoAraujojuauz
    @JoaoAraujojuauz 3 роки тому +3

    Great explanation - 100% clear and working

  • @praveen_javali
    @praveen_javali 4 роки тому +9

    Well explained !! thank you for your time and effort on creation of this video.

  • @PlacesKnownandUnknown
    @PlacesKnownandUnknown 4 роки тому +3

    Wow...the appearance is so colorful..Great video 👍🙂

  • @robchapman3840
    @robchapman3840 2 роки тому +1

    Thanks for this, nice and clear

  • @remccs16
    @remccs16 3 роки тому +2

    Great video, thanks for the explanation!

  • @ismailinayat6832
    @ismailinayat6832 3 роки тому +1

    This was good. I wish you upload more frequently. Love from Pakistan

  • @mohammedfaizan6103
    @mohammedfaizan6103 3 роки тому +2

    You have done well. I am able to understand Everything.

  • @jean-yvesmartineau1590
    @jean-yvesmartineau1590 3 роки тому +3

    Very useful and very well explained thank you so much!!

    • @thoughtspan
      @thoughtspan  2 роки тому

      Glad it was helpful! Thanks for your comment and Thanks for watching this video. Cheers

  • @BasselIssa
    @BasselIssa 4 роки тому +3

    Thanks for the smooth flow. but i see your video is more about React and the components in react more than the Contentful API.

  • @NathalieBergeron-nat
    @NathalieBergeron-nat 3 роки тому +3

    awesome! thanks

  • @aishwaryadash2879
    @aishwaryadash2879 4 роки тому +3

    Thanks for making such a Helpful video..

  • @vishnutechbuddy3106
    @vishnutechbuddy3106 3 роки тому +3

    Excellent

  • @rishimohan
    @rishimohan 3 роки тому +2

    Useful video, thanks!

  • @whitebelt4148
    @whitebelt4148 4 роки тому +7

    I personally prefer functional components

    • @911madza
      @911madza 3 роки тому +1

      same for async/await as well

  • @galickidigital
    @galickidigital 2 роки тому +1

    You are awesome. Thank You

    • @thoughtspan
      @thoughtspan  2 роки тому

      Thank you for your comment. Thanks for watching :)

  • @ofegeboy
    @ofegeboy 3 роки тому +1

    wonderful video. learn a lot from it Thanks

    • @thoughtspan
      @thoughtspan  3 роки тому

      Glad to hear that! Thanks for watching

  • @avinashb9752
    @avinashb9752 Рік тому

    Nice Video

  • @rajatsawarkar
    @rajatsawarkar 3 роки тому +1

    Next time you can use rfce as it wont give proptypes, also you can teach small apps like this in typescript as it is generally industry standard nowadays

  • @johmcg64
    @johmcg64 3 роки тому +2

    Thank you. very nicely done. I subd and belled.

  • @plyverge8476
    @plyverge8476 3 роки тому +1

    Nice one, also on the env.development it should be included in the .gitignore too

  • @denniszenanywhere
    @denniszenanywhere 3 роки тому +3

    You teach well. Can you do a React Contentful portfolio next time?

    • @thoughtspan
      @thoughtspan  3 роки тому +1

      I will try to do another Contentful tutorial

  • @JudoboyAlex
    @JudoboyAlex 3 роки тому +2

    Why class based component? Cannot be integrated to Contentful with functional component?

    • @thoughtspan
      @thoughtspan  2 роки тому

      Yes you're right we can use functional components too. In fact I have recently posted a new video that makes use of functional components and hooks instead of Class based components. Thanks for watching the video

  • @JackyMadenfrost
    @JackyMadenfrost 2 роки тому +1

    Thanks for the video. It was super helpful :)!!

    • @thoughtspan
      @thoughtspan  2 роки тому

      Glad it was helpful! Thanks for watching. Cheers :)

  • @eickerondio6683
    @eickerondio6683 3 роки тому

    Thanks for your vid.
    I want to show a concern about storing the api keys within environment variables, checking React Documentation:
    "Environment variables are embedded into the build, meaning anyone can view them by inspecting your app's files."

  • @madhaviojha7533
    @madhaviojha7533 2 роки тому +1

    Hello ..nice video very useful, i want to ask can i use functional component instead of class component.

    • @thoughtspan
      @thoughtspan  2 роки тому

      Yes, of course. You can use functional components instead of Class components.
      You can check the latest video on my channel where I make use of functional components with contentful

    • @madhaviojha7533
      @madhaviojha7533 2 роки тому

      @@thoughtspan thank you so much.Will surely go with your new video.

  • @unlockgrowth3508
    @unlockgrowth3508 3 роки тому +1

    Hello Vikram,
    I have followed the same process but I have faced:
    3 medium server vulnerabilities while creating react app. Like "requires a peer of @babel/core@^7.13.0 but none is installed" and other 2.
    When checked the browser at the point showed at 17:00. There was syntaxerror: unexpected token and error shows in 35th Line indicating "export default App;"
    I couldn't understand what's wrong. I did the same way you have explained.

    • @thoughtspan
      @thoughtspan  3 роки тому

      Thanks you for watching the video. Could you please share your code from a platform like codesandbox or stackblitz? Or you could also share the github link so that I can take a look at your code.

    • @unlockgrowth3508
      @unlockgrowth3508 3 роки тому

      @@thoughtspan I have replied multiple times but it is not showing when I refresh. Can we connect via another way?

    • @unlockgrowth3508
      @unlockgrowth3508 3 роки тому

      @@thoughtspan I think, URLs are the culprit. Now please find the code: github.com/unlockgrowth/marketersearch and the error screenshot: ibb.co/ZWfS9QB

    • @unlockgrowth3508
      @unlockgrowth3508 3 роки тому

      @@thoughtspan Do you get a chance to check my code?

  • @SvarYogiFanclub2211
    @SvarYogiFanclub2211 2 роки тому +1

    Can you please create more videos on Contentful? and it's usage.

    • @thoughtspan
      @thoughtspan  2 роки тому

      Thanks for your comment and Thanks for watching my video.
      Yes I plan to make many videos on React and Contentful. I have recently posted a new video on React and Contentful on my channel. ua-cam.com/video/yqe5UB_BF7Q/v-deo.html
      I hope you like this video.

  • @youtubetv3474
    @youtubetv3474 11 місяців тому

    why did you choose to use a class component when you could have used a function component

  • @realsalimsema
    @realsalimsema 4 роки тому +2

    Do you have a repository for this project? I encounter an error ' expected parameter for access token' yet all is provided

    • @thoughtspan
      @thoughtspan  4 роки тому +1

      Yes I am adding the link to the repository in the video description

    • @thoughtspan
      @thoughtspan  4 роки тому +1

      bitbucket.org/vikrammehta/foodblogcontentful/src/master/

    • @realsalimsema
      @realsalimsema 4 роки тому

      @@thoughtspan Thanks. I will get back to you if error persists

  • @user-wc1sm8cj8s
    @user-wc1sm8cj8s 3 роки тому

    hello there! I'm just wondering how you add audio to your screen recording. I'm also using Ubuntu 20.04, and am also doing some screen recording with it but records my voice via phone. I'll really appreciate the response!

  • @DevendraSingh-jt8qj
    @DevendraSingh-jt8qj 4 роки тому

    hey, what about the background image? You don't want to provide the bg image from local pc if you are using contentful. How to publish the background image to contentful and use it in CSS file.

  • @programmingwithtech7815
    @programmingwithtech7815 3 роки тому

    Thought Span , Can you please explain about Image (featuredImage.fields.file.url ) is half
    From where we can concat Image full URL ?

  • @DrewNorman
    @DrewNorman 2 роки тому

    I keep getting this error
    src\components\Posts.js
    Line 6:45: 'Post' is not defined react/jsx-no-undef

  • @damndamnd
    @damndamnd 3 роки тому

    would be great if you can add typescript thanks!

  • @capcodes
    @capcodes 3 роки тому

    good video but why it had to be done in bit bucket lol

  • @kvnsldvr4772
    @kvnsldvr4772 4 роки тому

    Let's say you want to add a new recipe. Can I create this via contentful without opening the code editor?

    • @vikrammehta4945
      @vikrammehta4945 4 роки тому +4

      Yes you're right. If you want to add a new post or recipe you just add it in Contentful and it will be populated on your react site.
      You don't need to touch the code editor. Just add your content in Contentful

    • @kvnsldvr4772
      @kvnsldvr4772 3 роки тому

      @@vikrammehta4945 thx

  • @serser3789
    @serser3789 3 роки тому

    Is it possible to create the block entry from a react form?

  • @suvethachandramohan2468
    @suvethachandramohan2468 3 роки тому

    hii...this is the video i m searching for...bt i have encountered error " Expected parameter accessToken" like this..what should i do..i do the same way like you did.

    • @vikrammehta4945
      @vikrammehta4945 3 роки тому

      Do you have a git repository that you can share?

    • @leavs
      @leavs Рік тому

      You solved this? I'm have the same error here

  • @ezswan
    @ezswan 3 роки тому

    can you make columns?

  • @bhoyroovivek2566
    @bhoyroovivek2566 Рік тому

    problem with marked

    • @vikrammehta4945
      @vikrammehta4945 Рік тому +1

      I think in the new version of Marked you need to import it as a named import and not as default. Try using this instead -
      import { marked } from 'marked';

    • @bhoyroovivek2566
      @bhoyroovivek2566 Рік тому +1

      Thank you sir it's working perfectly