Fullstack Course Tracker with React, Airtable, and Netlify - JAMstack Crash Course #2

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

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

  • @asankalk
    @asankalk 2 года назад

    Hi James, at 5.50 make you showing to how to grab the starter project, Are you able to do a video from start to finish so we can learn how to create these starter projects as well?

  • @lucadifazio2735
    @lucadifazio2735 2 года назад +2

    For those who prefer having the /api url instead of /.netlify/functions, this is my netlify.toml file:
    [functions]
    directory = "functions"
    [build]
    base = "."
    publish = "build"
    command = "npm run build"
    [[redirects]]
    from = "/api/*"
    to = "/.netlify/functions/:splat"
    status = 200
    Seems that the most important thing is the "/" before ".netlify". I've made a lot of combinations and this one works in a couple projects

  • @user-pc9yb9vi5k
    @user-pc9yb9vi5k 3 года назад

    Just finished this, works beautifully! Just in case someone has the same problem I did right at the end- I ran into the same problem with redirection at the end, and I ended up having to use a _redirects plain text file in the public directory rather than using the toml file. Also weirdly I had to add a build command in the toml file otherwise the functions were not being picked up.

    • @heggyhere1374
      @heggyhere1374 3 года назад

      I get an error 'dotenv' module not found at api call ruclips.net/video/VxlbcoJ3nnc/видео.html part of his video. However, I have installed `dotenv` in my root `package.json` file. Only deviation I made in my project is naming files differently for my usecase. Anyone ran into this issue?

    • @user-pc9yb9vi5k
      @user-pc9yb9vi5k 3 года назад +1

      @@heggyhere1374 Is it installed as a dev dependency? That could be causing problems. What happens if you run 'npm i dotenv @latest'?

  • @bernardleech5007
    @bernardleech5007 3 года назад

    Great intro tutorial, James. Thanks for sharing this. btw, any cause for concern at 05:36 ?

    • @JamesQQuick
      @JamesQQuick  3 года назад

      Wow!! Great catch. I only blurred it out in place lmao! I've change it since then though s I'm good :)

  • @MrEjjaquet
    @MrEjjaquet 3 года назад +1

    Why aren’t you using a switch statement in the function instead of all those if statements?

  • @chrisconnelly6742
    @chrisconnelly6742 4 года назад

    Another great one! thanks dude

  • @GuillaumeBettin
    @GuillaumeBettin 4 года назад +2

    Is there any kind of application for which you would prefer using a "standard stack" with a custom server and a database like Mongodb ? I have troubles seeing the limitations of Jamstack

    • @JamesQQuick
      @JamesQQuick  4 года назад +1

      Honestly maybe not lol I’m looking at serverless as a viable option going forward. I could swap out and use something like faunadb or mongo for a more serious db than airtable.

  • @johnacsyen
    @johnacsyen 4 года назад

    thanks for this tutorial. A feedback is that your camera view is blocking the console window.

  • @arlandmv4053
    @arlandmv4053 3 года назад +1

    what would be the easiest way to add auth* to this?

  • @DevikaNaik792
    @DevikaNaik792 3 года назад

    Hi James, a quick question, would appreciate help. How do I make sure, if a course already exists in the table, then not to add it, but just retrieve it's information , but if course does not exist then add it?

  • @nirajbhanushali7693
    @nirajbhanushali7693 4 года назад

    i like your doggo🤩

  • @KinGxWolF
    @KinGxWolF 3 года назад

    Sorry, where can I find part 1?

  • @kamaboko1
    @kamaboko1 2 года назад

    ➡There was an issue with redirects. In the template download it is ".netlify/functions/:splat". It should be "/.netlify/functions/:splat". This should fix it if you're having any problems.

  • @rangabharath4253
    @rangabharath4253 4 года назад

    awesome

  • @hillaryonyechekwa2169
    @hillaryonyechekwa2169 3 года назад

    I'm confused. why are you npm installing when you used yarn in the actuall github file. This tutorial is difficult to follow because the starter file has errors that need to be fixed. I can't even run netlify dev without getting errors that are not even pointed out. Which did you use NPM or yarn?

    • @hillaryonyechekwa2169
      @hillaryonyechekwa2169 3 года назад

      I'm here spending hours fixing a bug i didn't create instead of doing the acutal tutorial

    • @hillaryonyechekwa2169
      @hillaryonyechekwa2169 3 года назад

      I still appreciate the work you do but try to make your starter files ( if you'll make any in the future less buggy so the person learning doesn't have to fix bugs instead of learning the actual thing they came to learn

    • @JamesQQuick
      @JamesQQuick  3 года назад

      Can you share what specific bugs you’re seeing?

    • @pa1kumarbhukya
      @pa1kumarbhukya 3 года назад

      @@JamesQQuick cant see show api button on airtable is it moved somewhere else?

  • @kevlarkode
    @kevlarkode 3 года назад

    Are we doing CSR or SSR or SSG here ?
    I guess it's CSR, coz its react, right?

  • @calixtetayoro5719
    @calixtetayoro5719 4 года назад +1

    "Another one !"

  • @chrisconnelly6742
    @chrisconnelly6742 4 года назад

    WHOOP

  • @note-karlo
    @note-karlo 4 года назад

    🤗🤠

  • @rangabharath4253
    @rangabharath4253 4 года назад

    awesome