Python + JavaScript - Full Stack App Tutorial

2024 ж. 10 Мам.
138 692 Рет қаралды

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

Пікірлер
  • Join a free Skool community with over 7000 developers where you can network and learn! www.skool.com/software-developer-academy/about

    @TechWithTim@TechWithTim2 ай бұрын
    • 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

      @kpopTv56@kpopTv562 ай бұрын
  • Django and react project needed🥰

    @Anonymous-dy2te@Anonymous-dy2te2 ай бұрын
    • Like this comment if you want to see that!

      @TechWithTim@TechWithTim2 ай бұрын
    • @@TechWithTim waiting for django already completed the 9 hour project and many tutorial projects from your channel

      @hellohere-pu8uj@hellohere-pu8uj2 ай бұрын
    • ​@@TechWithTimI love the way you teach about python. 😊

      @247aakashpavar6@247aakashpavar62 ай бұрын
    • Yes !!

      @lucassilverio8923@lucassilverio89232 ай бұрын
    • @@TechWithTim yes pls

      @eternogigante685@eternogigante6852 ай бұрын
  • 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.

    @joe2271@joe22712 ай бұрын
    • Dudes a dog

      @lucaskellerlive@lucaskellerlive2 ай бұрын
    • bullDog I'd rather say!@@lucaskellerlive

      @code2compass@code2compass2 ай бұрын
    • Every time I'm on KZhead for entertainment and i come along a video of Tech with Tim i must open it. I just love this Channel. ❤

      @avenisource@avenisource2 ай бұрын
    • I asked it a year before

      @thatsathishkumar@thatsathishkumarАй бұрын
  • 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.

    @skooma103@skooma1032 ай бұрын
  • Thanks Tim, it's week 1 of my capstone project class and this is exactly what I needed. I can't believe my luck

    @bobk9117@bobk91172 ай бұрын
  • 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!

    @patrickprucha5522@patrickprucha55222 ай бұрын
  • 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! ❤

    @ReeveJonathanA@ReeveJonathanA2 ай бұрын
    • I agree with your comment.🎉

      @carsonjamesiv2512@carsonjamesiv25122 ай бұрын
  • 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!

    @user-kc7uo4qn2x@user-kc7uo4qn2x2 ай бұрын
  • 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.

    @spencercooper367@spencercooper3672 ай бұрын
  • I struggled learning this on my own, they way you explained it was outstanding

    @parthkabra8880@parthkabra88802 ай бұрын
  • 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

    @alimihakeem841@alimihakeem8412 ай бұрын
  • Thanks Tim! I'll be following along in the weekend!

    @shallanrambaran7090@shallanrambaran70902 ай бұрын
  • This is really great.I really like to see more small fullstack projects like these...

    @nikhuge6580@nikhuge65802 ай бұрын
  • Just what I was looking for!! Thanks so much!

    @nomadti8591@nomadti85912 ай бұрын
  • 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.

    @jsto6056@jsto60562 ай бұрын
  • Thank you for this amazing video, Tim!

    @ntahetony-blaise6386@ntahetony-blaise63862 ай бұрын
  • Absolutely great video Tim, this clears a lot of cobwebs

    @iamqqu@iamqqu2 ай бұрын
  • Please continue making these type of beginner friendly videos. Thanks ❤

    @pth55@pth552 ай бұрын
  • Wow just what I needed Thanks tim

    @user-vn7cd2jx9m@user-vn7cd2jx9m2 ай бұрын
  • This is fantastic. Thank you for this.

    @myhificloud@myhificloud2 ай бұрын
  • yooooo! the perfectely matched tutorial 🔥 sending... love from Sri Lanka ❤❤❤

    @penujahansith2688@penujahansith26882 ай бұрын
  • This is exactly what I wanted. Thanks

    @kudrah@kudrah2 ай бұрын
  • 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!

    @caleblwright1@caleblwright12 ай бұрын
    • 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.

      @unopinionated1823@unopinionated18232 ай бұрын
  • Have learned alot from you tim, thanks for the quality content🥰

    @codingpandas@codingpandas2 ай бұрын
  • This one is actually Tim’s best video

    @Mecagothits@Mecagothits8 күн бұрын
  • Hello Tim , Thanks for your awesome video and i started working on it

    @vinodsagar2412@vinodsagar24122 ай бұрын
  • Thank you so much Tim, You Are The Man! 🥰

    @thanhquangtranhuu1177@thanhquangtranhuu11772 ай бұрын
  • Very well structured video i loved the way you explained everything, please make more videos of these with more complex DB. thanks

    @YousifMohammed-uk4zi@YousifMohammed-uk4zi19 күн бұрын
  • Master TIM, thank you so much for doing this!, blessings!

    @luisdavidbarranzuelacastil1844@luisdavidbarranzuelacastil1844Ай бұрын
  • Yessss..... FINALLY WHAT I NEEDED

    @Akshat2108@Akshat21082 ай бұрын
  • Thanks for the helpful and interesting video!

    @edisongarcia94@edisongarcia942 ай бұрын
  • Damn finally I've caught up with you! Nice video as usual🔥

    @dotsdigi@dotsdigi2 ай бұрын
  • NICE TIM THIS IS WHAT I WAS LOOKING FOR TO BIND ALL AND HOW TO MAKE IT

    @mdelim3128@mdelim31282 ай бұрын
  • Thank you! this was really informative. You are a great teacher :)

    @kosi5@kosi5Ай бұрын
  • A tutorial with Flask + HTMX would be much appreciated!

    @majestif@majestif2 ай бұрын
  • Vera level so good please upload python+JavaScript tim

    @arunpravin3579@arunpravin35792 ай бұрын
  • Great content 🎉

    @ernie345@ernie3452 ай бұрын
  • 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!

    @johnadriandodge@johnadriandodge2 ай бұрын
  • Great one! Do one for FastAPI backend and React frontend ❤️

    @TheAraz95@TheAraz952 ай бұрын
  • Nice video🔥

    @vella166@vella1662 ай бұрын
  • 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.

    @BossNerd@BossNerd2 ай бұрын
  • 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)?

    @mikeandersen8535@mikeandersen8535Күн бұрын
  • 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

    @music4life467@music4life4672 ай бұрын
  • 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!)

    @andresbonelli@andresbonelli2 ай бұрын
  • Hey Tim can you make a tutorial for building a fullstack website using react redux and django it would be really helpfull

    @p21072@p210722 ай бұрын
  • Thanks a lot for the video.

    @davidcharles-daniel4362@davidcharles-daniel43622 ай бұрын
  • 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?

    @maikelvanvliet2716@maikelvanvliet2716Ай бұрын
  • Please make a django and react course. Those two comprise one of the best tech stack

    @thesnedit5406@thesnedit54062 ай бұрын
  • 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.

    @pietraderdetective8953@pietraderdetective89532 ай бұрын
    • Fair enough, the idea is to let you style it on your own. Unless you want to watch me do css for 2 hours?

      @TechWithTim@TechWithTim2 ай бұрын
  • WOW just the video i need Thank you so much. can you make a Django + React Vite w/ deployment process in it?

    @cheerio4742@cheerio47422 ай бұрын
  • Go and react project needed 🎉

    @adilfarq3784@adilfarq37842 ай бұрын
  • 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?

    @ValeriPenchev@ValeriPenchev12 күн бұрын
  • 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.

    @user-os4lj3pi4q@user-os4lj3pi4q2 ай бұрын
  • 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?

    @bklynpeter@bklynpeterАй бұрын
  • Thanks a lot!

    @MohammadAlikhany@MohammadAlikhanyАй бұрын
  • FastAPI + React example please. Thank you for Flask and Django.

    @TrilioniME@TrilioniMEАй бұрын
  • great work... how can I deploy this app on Vercel or similar platforms. Thanks

    @146vj@146vj9 күн бұрын
  • Would you be able to do a tutorial on reflex?

    @user-xx8cw6on7t@user-xx8cw6on7tАй бұрын
  • this is a banger and i know bangers

    @adamtroup785@adamtroup785Ай бұрын
  • 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.

    @user-skxfwmm@user-skxfwmm2 ай бұрын
    • I have a ton of flask tutorials on my channel they’re more beginner friendly why don’t u check those out!

      @TechWithTim@TechWithTim2 ай бұрын
    • @@TechWithTim Exactly what I'm doing right now😂 sorry for the dumb question

      @user-skxfwmm@user-skxfwmm2 ай бұрын
  • How do we protect our api not to be accessed from different URLs?

    @Alphalm100@Alphalm1002 ай бұрын
  • 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

    @StoiccGaming@StoiccGamingАй бұрын
  • can you do a video on how to deploy flask + react?

    @danielpeck1310@danielpeck13108 күн бұрын
  • Thanks 👍 ❤

    @kishan_0021@kishan_00212 ай бұрын
  • can you explain how languages talk to each other? im confused how they fit together.

    @drushkyy2017@drushkyy20172 ай бұрын
  • thank you for this tutorial but how to deploy both of them together

    @WebDeveloper682@WebDeveloper68224 күн бұрын
  • INTERESTING!😃

    @carsonjamesiv2512@carsonjamesiv25122 ай бұрын
  • can you please do a fastAPI and nextjs with AUTH flows, And how to implement RBAC

    @joshuakibona3247@joshuakibona3247Ай бұрын
  • Can I ask what theme and font you are using because its a lot clearer than mine on vscode

    @shuncho7844@shuncho7844Ай бұрын
  • i think you’re using an old version of flask sqlalchemy? correct if that’s wrong

    @bahae06@bahae062 ай бұрын
  • Any recommendations on where to start to get the skills and insights needed to understand a bit more of this video.

    @lytz@lytz2 ай бұрын
    • 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

      @TechWithTim@TechWithTim2 ай бұрын
  • 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

    @iosule3719@iosule3719Ай бұрын
  • 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?

    @HyperbolicHarmony@HyperbolicHarmonyАй бұрын
    • sublime text- super light weight

      @iosule3719@iosule3719Ай бұрын
  • Спасибо за видео :)

    @user-ws4nz8fu6z@user-ws4nz8fu6z2 ай бұрын
  • How do you publish Python backend to a server? Does it just go in the public/html folder like PHP does?

    @burntfried@burntfried2 ай бұрын
    • It’s a bit of a different process, I have various deployment videos on my channel showing how to deploy a flask app.

      @TechWithTim@TechWithTim2 ай бұрын
  • thanks!

    @merahputiih@merahputiih2 ай бұрын
  • ❤thanks alot

    @user-tj5it2rz1t@user-tj5it2rz1t2 ай бұрын
  • What key switches are you using? 😅

    @daniell9062@daniell906219 күн бұрын
  • 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

    @Skarzx@Skarzx2 ай бұрын
    • I have a few videos covering that already, you can check my "Million Dollar Project Idea" video

      @TechWithTim@TechWithTim2 ай бұрын
    • @TechWithTim thank you yeah I'll check it out.

      @Skarzx@Skarzx2 ай бұрын
  • Would have a complete project if you would have consider index.html and some config for hard-coded urls in jsx

    @TheNishi42@TheNishi422 ай бұрын
  • 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.

    @sasukev9@sasukev928 күн бұрын
  • Which keyboard do you use? That keyboard sound made me feel things.

    @stew-san7840@stew-san78402 ай бұрын
    • Keychron Q1 Max

      @TechWithTim@TechWithTim2 ай бұрын
  • Do another with django and react

    @rockerzhackers799@rockerzhackers7992 ай бұрын
  • Nice one

    @kamilmarszakowski8694@kamilmarszakowski86942 ай бұрын
  • 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

    @sasukev9@sasukev929 күн бұрын
  • Waitong for django and react project....

    @Br0_CoDeS@Br0_CoDeS2 ай бұрын
  • would it be smart to make a virtual environment for installing the Python libraries?

    @robertwhite8194@robertwhite81942 ай бұрын
    • Yes!

      @TechWithTim@TechWithTim2 ай бұрын
  • 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!!!!!!!!

    @garrettsmith315@garrettsmith3152 ай бұрын
  • 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.

    @acerswift4386@acerswift43862 ай бұрын
  • u need to use __init__ to the class 16:18 timestamp (not reqired tho)

    @XdSparkle.@XdSparkle.2 ай бұрын
  • django and react project needed

    @user-hn5bh9ts9b@user-hn5bh9ts9b2 ай бұрын
  • vs code theme?

    @vinaychaurasiya5140@vinaychaurasiya5140Ай бұрын
  • Maybe could be better If you provide more information about real world practises using flask api.

    @foterloter523@foterloter5232 ай бұрын
  • add bootstrap, some beauty please.

    @josebaezc.7709@josebaezc.7709Ай бұрын
  • Thanks this is what I can say to

    @user-fu8ui1ct2e@user-fu8ui1ct2e2 ай бұрын
  • Fastapi + react or django ninja + react pls ❤

    @dimasarestu2043@dimasarestu20432 ай бұрын
  • If it was django + react then it's awesome

    @Web85@Web852 ай бұрын
    • I have a series on my channel that shows that

      @TechWithTim@TechWithTim2 ай бұрын
  • Golden

    @XxMissingDataxX@XxMissingDataxX2 ай бұрын
  • Now he jumped in full stack world

    @tanavposwal@tanavposwal2 ай бұрын
  • should explain using drawing.

    @harshkashyap8372@harshkashyap83722 ай бұрын
KZhead