React & Django Social Media (Portfolio Project) | Set up & User Profile | #1

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

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

  • @urmet3309
    @urmet3309 2 часа назад

    This github link dosent work. I have errors when tryng to make migrations. It would be bigh help for learning when you publish source code same time as video for this section.. Then is easier to find fault .. learn and analyze what went wrong.

  • @newtoneffect6642
    @newtoneffect6642 11 дней назад

    Nice project bro❤
    Did you also deploy it on the web?

    • @MattMakesCode
      @MattMakesCode  11 дней назад +1

      Thanks brother - yes & will be showing how to deploy the project in the last video of the series (coming soon)

  • @ogunleyejoseph5682
    @ogunleyejoseph5682 7 дней назад

    Great video. For some reason, axios is able to fetch data from locahost:3000 but not 127.0.0.1:3000. any ideas on why this could be so

    • @MattMakesCode
      @MattMakesCode  7 дней назад

      @@ogunleyejoseph5682 Thanks! I believe you need to add 127.0.0.1:3000 to your CORS_ALLOWED_ORIGINS array in settings.py.

  • @BMoogle
    @BMoogle 21 день назад

    Hello, Would you share the rest of the project?

    • @MattMakesCode
      @MattMakesCode  21 день назад +1

      @@BMoogle releasing the videos daily, secure authentication system video coming out today!

    • @MattMakesCode
      @MattMakesCode  17 дней назад +1

      Sorry I've been unwell the last few days - will be releasing the next few videos over the next few days. Thanks for your patience!

    • @BMoogle
      @BMoogle 17 дней назад

      @ It’s okay, i’m waiting ahaha Get well soon Boss xd

  • @OlamigokeAdebayo
    @OlamigokeAdebayo 3 дня назад

    is there no github for the project pls bro

    • @MattMakesCode
      @MattMakesCode  День назад

      I'll create a repo for it! I'll upload the project we are working on together and push changes after each video so it will update as we go along.

  • @madhurchaturvedi5551
    @madhurchaturvedi5551 20 дней назад

    Hi are also using Redux or global state management

    • @MattMakesCode
      @MattMakesCode  20 дней назад +2

      We’ll be using useContext to serve our components information globally when needed (like if user is authenticated or not). However no global state management like Redux as I wanted to keep this tutorial React & Django specific.

    • @madhurchaturvedi5551
      @madhurchaturvedi5551 20 дней назад

      @@MattMakesCode understood 👍

  • @suryaSreeRam
    @suryaSreeRam 8 дней назад

    axios not fetching data from api

    • @MattMakesCode
      @MattMakesCode  8 дней назад

      what is your error?

    • @suryaSreeRam
      @suryaSreeRam 8 дней назад

      my endpoint api:
      const Base_Url = '127.0.0.1:8000/api/';
      const api = axios.create({
      baseURL: Base_Url ,
      withCredentials:true
      });
      export const get_user_profile_data = async(username) =>{
      const response = await api.get(`user_data/${username}`);
      return response.data;
      }

    • @MattMakesCode
      @MattMakesCode  8 дней назад

      That code looks fine, does your terminal in your frontend or backend say an error?

    • @suryaSreeRam
      @suryaSreeRam 8 дней назад

      @@MattMakesCode please help me to get it resolved

    • @suryaSreeRam
      @suryaSreeRam 8 дней назад

      @@MattMakesCode getting error for frontend