19 To-Do App - ['Symfony 5.1', 'React', Material UI'] - React Router + Symfony Route & Symfony 5.1

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • VIDEO BRANCH: router
    GITHUB: github.com/San...
    See the differences:
    github.com/San...
    In this video series I'll be going over how to make a basic to-do app using React, Symfony and Material UI.
    In this episode I will show you how to implement React Routing together with symfony's strict routes. I will show you how to always land on a 404 page when a route doesn't match and how to still allow your API routes to work after the implementation.
    You will need to add react-router-dom so please use:
    yarn add react-router-dom; to install the required components.
    If you want to follow along with this series from start to finish I recommend using the playlist for this series: • To-Do App - ['Symfony ...
    Information▼
    Upgrade Doctrine 2.* to 3.0.*: github.com/doc...
    NavLink DOCS: reactrouter.co...
    Link DOCS: reactrouter.co...
    Symfony Route Priority: symfony.com/bl...
    Plugins▼
    plugins.jetbra...
    Video Links▼
    composer: getcomposer.or...
    Symfony: symfony.com/do...
    PHP: www.php.net/do...
    GIT:git-scm.com/do...
    SQL Workbench: dev.mysql.com/...
    JETBRAINS Student Program: www.jetbrains....
    Yarn: yarnpkg.com/en...
    Instagram: / sandercokart
    @SanderCokart
    Twitter: / sandercokart
    @SanderCokart
    Join the Discord Community?
    / discord
    AND tell me me what you think of the video PERSONALLY!
    (If you want)
    FAQ▼
    1drv.ms/b/s!Al...
    #Symfony #React #Tutorial

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

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

    This was the first place I could find that described the annotation for reactRouting and using priority = -1.

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

    I was about to give up on react because I kept getting a symfony "route not found" error everytime I tried to enter "/some/route" other than "/" but then I found this video!
    The "priority" and "requirements" totally saved my day!

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

    Hi Sander! Great tutorial and really helpful. Keep going!

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

    Hello Sander I´ve followed all your list videos. I ´ve learnt a lot actually and I would really apreaciate if you would make another video but now with the login implementation.
    Many Thanks!

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

      Login I've never got to work. I switched to Laravel instantly

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

      SPA Synfony login is a bitch. You could use JWT but it's not very stateless

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

    You sir are awesome I've learned so much from your videos! Keep up the good work!

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

      Thank you man, you don't know how much that means to me ❤️

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

    Great video! Glad to have found you channel!

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

      Thank you!

    • @asasin020
      @asasin020 Год назад

      @@SanderCokart i have un question which one architectural you use REST API ? or WEB API ? thanks

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

    Thanks for series. Could you please make video about sever side rendering SSR with symfony and react ? I will very appreciate

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

      ziat _ziat i don’t know enough about ACTUAL server side rendering. But I’d love to include everything within the series plus it’s far from done. I am just extremely busy.

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

    Hi mate, great course!!
    Will it be continued?
    Cheers!!

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

    Nice. Cloned the repo, so I could play around with your code, as I'm currently trying to setup the same stack (Symfony + React). I'm confused, though, as to how you've made use of the TodoType.php file when the JS is handling the form entry.

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

      I stopped using it. Also....I am completely converted to Laravel now 😂. Someone from Symfony development team follows me maybe he can teach me Auth but until then I use Laravel. Also this tutorial series is dead in the water without me knowing wtf I'm gonna do. I changed alot since last video. But yeah need to learn PROPER auth.

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

      @@SanderCokart The Symfony Casts series on Authentication is great. React Router is pretty much one of the few things they haven't covered. I've looked at Laravel. It uses a lot of Symfony anyway apparently.

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

      @@XiagraBalls I found it terrible for react users for auth.

  • @asasin020
    @asasin020 Год назад

    i have un question which one architectural you use REST API ? or WEB API ? thanks

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

    Hi Sander, i use Symfony to develop web apps and am thinking about using react with it, does that make a big difference ? i mean we can already use twig for Front-end. Is there any easy and correct way to move variables from php controller to our React components without using API's ?

    • @SanderCokart
      @SanderCokart  2 года назад +1

      Inertia

    • @asasin020
      @asasin020 Год назад

      @@SanderCokart i have un question which one architectural you use REST API ? or WEB API ? thanks

  • @user-mp2js7gy1e
    @user-mp2js7gy1e 4 года назад +1

    how can I deploy the project on hosting ??? how to configure .htaccess for project ?

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

      Григорий - still figuring it out. I use shared hosting So it might be a bit more difficult for me. Please do allow me to have to time because I am extremely busy

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

    how we can use react in a symfony classic project without api rest

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

      Uh...same way probably? Rest is only a choice

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

    What is that PhpStorm Theme?