Python + JavaScript - Full Stack App Tutorial

Sdílet
Vložit
  • čas přidán 20. 05. 2024
  • Dive deep into full stack development in this comprehensive guide, where I will walk you through building a dynamic web application from scratch, utilizing the power of Python with Flask for the backend and JavaScript with React for the frontend.
    Don't forget to like, share, and subscribe for more in-depth tech tutorials from Tech with Tim. Join the discussion in the comments below and share your progress or ask questions.
    Register for the NVIDIA GTC: nvda.ws/3j19YDK
    Enter the Giveaway: forms.gle/Lu7QQ4XancakaTjH8
    The Future of Extended Reality and Generative AI [S62751]: www.nvidia.com/gtc/session-ca...
    Large-Scale Production Deployment of RAG Pipelines [DLIT63054]
    www.nvidia.com/gtc/session-ca...
    Exploring AI-Assisted Developer Tools for Accelerated Computing [SE62128]
    www.nvidia.com/gtc/session-ca...
    🎞 Video Resources 🎞
    Full Code: github.com/techwithtim/Flask-...
    If you want to land a developer job: techwithtim.net/dev
    If you want to learn Web 3 & Blockchain: algoexpert.io/blockchain (use code “tim”)
    If you want learn Python & Go: programmingexpert.io/tim (use code “tim”)
    Skool community for free resources: softwaredeveloperacademy.com
    Discord server: / discord
    ⏳ Timestamps ⏳
    00:00 | Introduction
    02:40 | Project Demo
    04:27 | Setup & Installation
    08:50 | Building The Backend
    45:08 | Building The Frontend
    Hashtags
    #PythonJavaScriptTutorial #fullstackdevelopment #FlaskReact #TechWithTim #WebDevelopmentGuide

Komentáře • 151

  • @TechWithTim
    @TechWithTim  Před 3 měsíci +13

    Join a free Skool community with over 7000 developers where you can network and learn! www.skool.com/software-developer-academy/about

    • @kpopTv56
      @kpopTv56 Před 2 měsíci +1

      Hi you have been a source or inspiration can you please and please make a project of using sqllite and sql.js to help for browser database usage
      Thank you please reply I am a big fan kindly help me thank you for your time

  • @Anonymous-dy2te
    @Anonymous-dy2te Před 3 měsíci +365

    Django and react project needed🥰

    • @TechWithTim
      @TechWithTim  Před 3 měsíci +392

      Like this comment if you want to see that!

    • @hellohere-pu8uj
      @hellohere-pu8uj Před 3 měsíci +2

      @@TechWithTim waiting for django already completed the 9 hour project and many tutorial projects from your channel

    • @247aakashpavar6
      @247aakashpavar6 Před 3 měsíci +2

      ​@@TechWithTimI love the way you teach about python. 😊

    • @lucassilverio8923
      @lucassilverio8923 Před 3 měsíci

      Yes !!

    • @eternogigante685
      @eternogigante685 Před 3 měsíci

      @@TechWithTim yes pls

  • @joe2271
    @joe2271 Před 3 měsíci +71

    HOLY CRAP!! I asked you for this last week. Thanks Tim, almost feel like it was answering my request! All kidding aside, thanks for doing this and gonna go through it now.

    • @lucaskellerlive
      @lucaskellerlive Před 3 měsíci

      Dudes a dog

    • @code2compass
      @code2compass Před 2 měsíci

      bullDog I'd rather say!@@lucaskellerlive

    • @avenisource
      @avenisource Před 2 měsíci +1

      Every time I'm on CZcams for entertainment and i come along a video of Tech with Tim i must open it. I just love this Channel. ❤

    • @thatsathishkumar
      @thatsathishkumar Před 2 měsíci +1

      I asked it a year before

  • @skooma103
    @skooma103 Před 3 měsíci +4

    Hey Tim, I've followed your content for years. You were one of the people who sparked my interest in programming. Thankyou for all your hard work and keep up the great work. You're genuinely one of the best content creators on this platform.

  • @user-kc7uo4qn2x
    @user-kc7uo4qn2x Před 3 měsíci

    Hey Tim! Just want you to know that your tutorial videos are so helpful and useful in expanding programming skills. I love how you keep it simple and open-ended for personal creativity to come into play. Thank you lots!

  • @patrickprucha5522
    @patrickprucha5522 Před 3 měsíci +7

    Thanks for the video. I like the way you explain the stuff. I'm at an impass. 62 years old, on linux and created a bunch of scripts working in tandem to carry out the maintenance of my computers and network. However, i am trying to jump into python. I was switching between perl and python and actually c. I have programmed in fortran, cobol, pascal, access and even foxpro to build databases apps.
    I would like to follow the path of Master programmer by Dr. Chuck...so have decided to go into python, using my bash scripts to whet my appetite on python. This is the hardest step to go past.
    In any case i do like how you present your videos. Very down to earth, understandable, and easy to follow. So for that, Thank You and Excellent job! Cheers!

  • @bobk9117
    @bobk9117 Před 3 měsíci +3

    Thanks Tim, it's week 1 of my capstone project class and this is exactly what I needed. I can't believe my luck

  • @ReeveJonathanA
    @ReeveJonathanA Před 3 měsíci +20

    Tim this was perfectly timed. I’m a beginner developer and I know the basics of Python, JS and React but I’ve been struggling to put them together to build something full stack.
    Thank you so much for this! ❤

  • @spencercooper367
    @spencercooper367 Před 3 měsíci +2

    Since I encountered your video last year I continue to feel passionate about Ilearning this. Thanks for always publishing fruitful and meaningful content that go in-depth. Tim your name and the names of other will surely be mentioned when I have fully grown.

  • @alimihakeem841
    @alimihakeem841 Před 3 měsíci

    Absolutely a nice projects. Thanks for this. I'm currently learning flask, so this project will give me a starter template in building full stack application

  • @parthkabra8880
    @parthkabra8880 Před 3 měsíci +1

    I struggled learning this on my own, they way you explained it was outstanding

  • @jsto6056
    @jsto6056 Před 2 měsíci

    Great work on this. This is a perfect example of a FS app base modal for anyone to use. Thanks. Could have used this years ago myself.

  • @nikhuge6580
    @nikhuge6580 Před 3 měsíci

    This is really great.I really like to see more small fullstack projects like these...

  • @shallanrambaran7090
    @shallanrambaran7090 Před 3 měsíci

    Thanks Tim! I'll be following along in the weekend!

  • @nomadti8591
    @nomadti8591 Před 3 měsíci

    Just what I was looking for!! Thanks so much!

  • @ntahetony-blaise6386
    @ntahetony-blaise6386 Před 2 měsíci

    Thank you for this amazing video, Tim!

  • @penujahansith2688
    @penujahansith2688 Před 3 měsíci

    yooooo! the perfectely matched tutorial 🔥 sending... love from Sri Lanka ❤❤❤

  • @pth55
    @pth55 Před 3 měsíci

    Please continue making these type of beginner friendly videos.
    Thanks ❤

  • @iamqqu
    @iamqqu Před 3 měsíci

    Absolutely great video Tim, this clears a lot of cobwebs

  • @Mecagothits
    @Mecagothits Před 18 dny

    This one is actually Tim’s best video

  • @caleblwright1
    @caleblwright1 Před 2 měsíci +4

    Great tutorial. If you are having trouble importing the flask packages (like I did), do some digging on python environments. Best practice is to create a new virtual environment for each project because Python isn't great at dependency management. Once you create the virtual environment, activate it and import the flask packages into the venv you just created. That should fix your problem!

    • @unopinionated1823
      @unopinionated1823 Před 2 měsíci +1

      Great advice, Caleb. I found Visual Studio Code to be super helful in this regard. It was easy to create a new virtual environment, and you can do this and switch your interpreters with one command at the bottom of the IDE.

  • @codingpandas
    @codingpandas Před 3 měsíci

    Have learned alot from you tim, thanks for the quality content🥰

  • @YousifMohammed-uk4zi
    @YousifMohammed-uk4zi Před 29 dny

    Very well structured video i loved the way you explained everything, please make more videos of these with more complex DB. thanks

  • @myhificloud
    @myhificloud Před 3 měsíci

    This is fantastic. Thank you for this.

  • @luisdavidbarranzuelacastil1844

    Master TIM, thank you so much for doing this!, blessings!

  • @thanhquangtranhuu1177
    @thanhquangtranhuu1177 Před 2 měsíci

    Thank you so much Tim, You Are The Man! 🥰

  • @user-vn7cd2jx9m
    @user-vn7cd2jx9m Před 3 měsíci

    Wow just what I needed
    Thanks tim

  • @arunpravin3579
    @arunpravin3579 Před 3 měsíci +2

    Vera level so good please upload python+JavaScript tim

  • @kudrah
    @kudrah Před 3 měsíci

    This is exactly what I wanted. Thanks

  • @johnadriandodge
    @johnadriandodge Před 3 měsíci

    Shalom Mr. TwT, thank you for sharing this.
    Generally, I get so swept away by the visual GUI GUI nifty neat style effects, and all the bells and whistles which accompany that, I quickly lose sight of the meat and potatoes of the functionality.
    I am glad you made a decision to bypass that noise, and focus on what matters most of the given app.
    After all, an app most certainly can function not looking nice, but it can look the best, yet not function at all!
    Thanks again Mr. TwT!
    Here is a thought...
    Tech Niche Tim: TNT!

  • @kosi5
    @kosi5 Před měsícem

    Thank you! this was really informative. You are a great teacher :)

  • @vinodsagar2412
    @vinodsagar2412 Před 2 měsíci

    Hello Tim , Thanks for your awesome video and i started working on it

  • @Akshat2108
    @Akshat2108 Před 3 měsíci

    Yessss..... FINALLY WHAT I NEEDED

  • @mdelim3128
    @mdelim3128 Před 3 měsíci

    NICE TIM THIS IS WHAT I WAS LOOKING FOR TO BIND ALL AND HOW TO MAKE IT

  • @ernie345
    @ernie345 Před 3 měsíci +2

    Great content 🎉

  • @vella166
    @vella166 Před 3 měsíci +5

    Nice video🔥

  • @edisongarcia94
    @edisongarcia94 Před 3 měsíci

    Thanks for the helpful and interesting video!

  • @dotsdigi
    @dotsdigi Před 3 měsíci

    Damn finally I've caught up with you! Nice video as usual🔥

  • @mikeandersen8535
    @mikeandersen8535 Před 12 dny

    Stumbled upon this video searching for more information to help me create a mockup for an idea I have, which I have decided to make with flask and a web frontend. Wish I have found this one first, because that would have saved me some time. Great work and you are very good at explaining the tings I need to learn.
    Did a lot of web-related programming back in the 1990s, but oh my how much have changed since then! Even how things are named. It even took me a while to understand that "Route" was nothing else than what we called "Path". So if you are up for a challenge: Create the application from this video with only the tools and technology available in 1996, and then do a comparison of then and now. Could be a cool video, and maybe you recognise more techniques that are the same today as they were then (but with other names)?

  • @majestif
    @majestif Před 3 měsíci

    A tutorial with Flask + HTMX would be much appreciated!

  • @davidcharles-daniel4362
    @davidcharles-daniel4362 Před 2 měsíci

    Thanks a lot for the video.

  • @TheAraz95
    @TheAraz95 Před 3 měsíci

    Great one! Do one for FastAPI backend and React frontend ❤️

  • @BossNerd
    @BossNerd Před 3 měsíci +1

    It would be cool if you did this same project in pyscript and then compare the two as a measure of how well pyscript is coming along.

  • @adilfarq3784
    @adilfarq3784 Před 2 měsíci

    Go and react project needed 🎉

  • @music4life467
    @music4life467 Před 2 měsíci

    it almost year i use python as backend to my javascript,, it very easy to use like ml or other lib of python, using it in react js and also plain javascript.. a month ago i create basic widget or controls library for my plain js

  • @ValeriPenchev
    @ValeriPenchev Před 23 dny

    Hi, first of all - great video, thanks for it!
    I have the following python backend question - why are not database intereactions in try-catch blocks and only the add_contact is?

  • @user-os4lj3pi4q
    @user-os4lj3pi4q Před 2 měsíci

    Btw, I'm using mac and I use pip, not pip3.
    P.D. Nice tutorial. This will help me to work on many personal projects.

  • @kishan_0021
    @kishan_0021 Před 3 měsíci

    Thanks 👍 ❤

  • @MohammadAlikhany
    @MohammadAlikhany Před měsícem

    Thanks a lot!

  • @adamtroup785
    @adamtroup785 Před 2 měsíci

    this is a banger and i know bangers

  • @andresbonelli
    @andresbonelli Před 2 měsíci

    This is an amazing tutorial, concise and to the point, have you thought of following with a tutorial on how to deploy this proyect online? (you can even use some of your sponsors loke Linode or such as an example!)

  • @p21072
    @p21072 Před 3 měsíci +3

    Hey Tim can you make a tutorial for building a fullstack website using react redux and django it would be really helpfull

  • @user-ws4nz8fu6z
    @user-ws4nz8fu6z Před 3 měsíci

    Спасибо за видео :)

  • @thesnedit5406
    @thesnedit5406 Před 2 měsíci

    Please make a django and react course. Those two comprise one of the best tech stack

  • @bklynpeter
    @bklynpeter Před měsícem

    Overall, fantastic. One major question though. While this works great when you can start up your frontend and backend in a dev environment, ultimately if this was a real web app, wouldn't the backend need to deliver the frontend to the client when you first landed on the page? Maybe you could explore this in a follow-up video?

  • @pietraderdetective8953
    @pietraderdetective8953 Před 3 měsíci

    Was excited to see you doing some frontend with React.
    Then i saw the looks of the demo project...ngl it took away my interest to do the project.

    • @TechWithTim
      @TechWithTim  Před 3 měsíci +1

      Fair enough, the idea is to let you style it on your own. Unless you want to watch me do css for 2 hours?

  • @cheerio4742
    @cheerio4742 Před 3 měsíci

    WOW just the video i need Thank you so much. can you make a Django + React Vite w/ deployment process in it?

  • @carsonjamesiv2512
    @carsonjamesiv2512 Před 3 měsíci

    INTERESTING!😃

  • @user-tj5it2rz1t
    @user-tj5it2rz1t Před 3 měsíci

    ❤thanks alot

  • @146vj
    @146vj Před 19 dny

    great work... how can I deploy this app on Vercel or similar platforms. Thanks

  • @merahputiih
    @merahputiih Před 3 měsíci

    thanks!

  • @maikelvanvliet2716
    @maikelvanvliet2716 Před 2 měsíci

    Really nice tutorial! Can we have a pt.2 tutorial where we go deeper and make a website where people can register, login and change their records after they are logged in?

  • @StoiccGaming
    @StoiccGaming Před 2 měsíci

    How did you get your text to be all of those colors? I installed 'prettier' but I don't like the color scheme of it. I like the one that you have

  • @kamilmarszakowski8694
    @kamilmarszakowski8694 Před 3 měsíci

    Nice one

  • @iosule3719
    @iosule3719 Před měsícem

    Hi Tim i hope i get a response to this question. Ive seen your other video series about using python+flask sqlalchemy without using JavaScript, so my question is since u are using python and JavaScript in this video and GitHub doesn't host site Python sites, will GitHub host sites with JavaScript and python? like the type u did in this video

  • @WebDeveloper682
    @WebDeveloper682 Před měsícem

    thank you for this tutorial but how to deploy both of them together

  • @shuncho7844
    @shuncho7844 Před 2 měsíci

    Can I ask what theme and font you are using because its a lot clearer than mine on vscode

  • @user-skxfwmm
    @user-skxfwmm Před 3 měsíci

    Hi Tim, this is exactly what i'm looking for. Putting things together, having the whole picture of the app. But I actually find myself a little bit struggled when i go along the tutorial, i feel like it is because i'm not that familiar with flask and those back-end knowledge yet. Do you have any advice of what should i do? That would be really appreciated. Once again, thanks for the video.

    • @TechWithTim
      @TechWithTim  Před 3 měsíci +1

      I have a ton of flask tutorials on my channel they’re more beginner friendly why don’t u check those out!

    • @user-skxfwmm
      @user-skxfwmm Před 3 měsíci

      @@TechWithTim Exactly what I'm doing right now😂 sorry for the dumb question

  • @danielpeck1310
    @danielpeck1310 Před 18 dny

    can you do a video on how to deploy flask + react?

  • @user-fu8ui1ct2e
    @user-fu8ui1ct2e Před 3 měsíci

    Thanks this is what I can say to

  • @sasukev9
    @sasukev9 Před měsícem

    When deleting I get an error to fetch, but when refreshing the page it successfully deletes?
    edit: I did not add the return to the delete_contact method.

  • @TrilioniME
    @TrilioniME Před měsícem

    FastAPI + React example please. Thank you for Flask and Django.

  • @user-xx8cw6on7t
    @user-xx8cw6on7t Před 2 měsíci

    Would you be able to do a tutorial on reflex?

  • @Alphalm100
    @Alphalm100 Před 3 měsíci +1

    How do we protect our api not to be accessed from different URLs?

  • @HyperbolicHarmony
    @HyperbolicHarmony Před 2 měsíci +1

    Hi Tim! I was wondering: what is the best python IDE? I've been using Pycharm, but it is very difficult to get packages and such things. Do you have any advice?

    • @iosule3719
      @iosule3719 Před měsícem

      sublime text- super light weight

  • @drushkyy2017
    @drushkyy2017 Před 2 měsíci

    can you explain how languages talk to each other? im confused how they fit together.

  • @daniell9062
    @daniell9062 Před měsícem

    What key switches are you using? 😅

  • @Von199X
    @Von199X Před 4 dny

    Damn I need to level up my game

  • @garrettsmith315
    @garrettsmith315 Před 2 měsíci

    Ask and you shall receive!!!!! Now that we have seen React, it would be interesting to see a comparison video to a different front-end framework!!!!!!!!

  • @XxMissingDataxX
    @XxMissingDataxX Před 3 měsíci

    Golden

  • @lytz
    @lytz Před 3 měsíci

    Any recommendations on where to start to get the skills and insights needed to understand a bit more of this video.

    • @TechWithTim
      @TechWithTim  Před 3 měsíci +1

      I have all kinds of beginner tutorials on my channel for both JavaScript and Python. I would make sure you have a good understanding of both of those languages

  • @XdSparkle.
    @XdSparkle. Před 2 měsíci +1

    u need to use __init__ to the class 16:18 timestamp (not reqired tho)

  • @sasukev9
    @sasukev9 Před měsícem

    At the end of the video when wanting to use the fetch button, I get an ERROR TO FETCH, I checked the URL and the fetch method.. everything seems fine, what could it be?
    CREATE and UPDATE works, delete is the only one that does not

  • @joshuakibona3247
    @joshuakibona3247 Před 2 měsíci

    can you please do a fastAPI and nextjs with AUTH flows, And how to implement RBAC

  • @rockerzhackers799
    @rockerzhackers799 Před 3 měsíci +1

    Do another with django and react

  • @bahae06
    @bahae06 Před 2 měsíci

    i think you’re using an old version of flask sqlalchemy? correct if that’s wrong

  • @burntfried
    @burntfried Před 3 měsíci +1

    How do you publish Python backend to a server? Does it just go in the public/html folder like PHP does?

    • @TechWithTim
      @TechWithTim  Před 3 měsíci

      It’s a bit of a different process, I have various deployment videos on my channel showing how to deploy a flask app.

  • @coderXplus1680
    @coderXplus1680 Před 3 měsíci

    So cooll

  • @josebaezc.7709
    @josebaezc.7709 Před měsícem

    add bootstrap, some beauty please.

  • @jayant9416
    @jayant9416 Před 2 měsíci +2

    nice tut although

  • @acerswift4386
    @acerswift4386 Před 2 měsíci

    I'm very new in React and JS in general. Can someone recommend me a very short course to get it? Like "A bite of Python" but for JS and React.

  • @robertwhite8194
    @robertwhite8194 Před 2 měsíci

    would it be smart to make a virtual environment for installing the Python libraries?

  • @user-hn5bh9ts9b
    @user-hn5bh9ts9b Před 3 měsíci

    django and react project needed

  • @tacorevenge87
    @tacorevenge87 Před 3 měsíci

    Fastapi and react

  • @TheNishi42
    @TheNishi42 Před 3 měsíci

    Would have a complete project if you would have consider index.html and some config for hard-coded urls in jsx

  • @dimasarestu2043
    @dimasarestu2043 Před 2 měsíci

    Fastapi + react or django ninja + react pls ❤

  • @Skarzx
    @Skarzx Před 2 měsíci

    Would you ever consider (unless you did it already) do a web-scraping centric app for like sports statistics? Or any videos you have covering stuff like that you have already that you'd recommend? @Tech With Tim

    • @TechWithTim
      @TechWithTim  Před 2 měsíci +1

      I have a few videos covering that already, you can check my "Million Dollar Project Idea" video

    • @Skarzx
      @Skarzx Před 2 měsíci

      @TechWithTim thank you yeah I'll check it out.

  • @vinaychaurasiya5140
    @vinaychaurasiya5140 Před 2 měsíci +1

    vs code theme?

  • @harshkashyap8372
    @harshkashyap8372 Před 2 měsíci

    should explain using drawing.

  • @Br0_CoDeS
    @Br0_CoDeS Před 2 měsíci

    Waitong for django and react project....