Python + JavaScript - Full Stack App Tutorial
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
Join a free Skool community with over 7000 developers where you can network and learn! www.skool.com/software-developer-academy/about
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
Django and react project needed🥰
Like this comment if you want to see that!
@@TechWithTim waiting for django already completed the 9 hour project and many tutorial projects from your channel
@@TechWithTimI love the way you teach about python. 😊
Yes !!
@@TechWithTim yes pls
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.
Dudes a dog
bullDog I'd rather say!@@lucaskellerlive
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. ❤
I asked it a year before
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.
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!
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!
Thanks Tim, it's week 1 of my capstone project class and this is exactly what I needed. I can't believe my luck
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! ❤
I agree with your comment.🎉
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.
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
I struggled learning this on my own, they way you explained it was outstanding
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.
This is really great.I really like to see more small fullstack projects like these...
Thanks Tim! I'll be following along in the weekend!
Just what I was looking for!! Thanks so much!
Thank you for this amazing video, Tim!
yooooo! the perfectely matched tutorial 🔥 sending... love from Sri Lanka ❤❤❤
Please continue making these type of beginner friendly videos.
Thanks ❤
Absolutely great video Tim, this clears a lot of cobwebs
This one is actually Tim’s best video
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!
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.
Have learned alot from you tim, thanks for the quality content🥰
Very well structured video i loved the way you explained everything, please make more videos of these with more complex DB. thanks
This is fantastic. Thank you for this.
Master TIM, thank you so much for doing this!, blessings!
Thank you so much Tim, You Are The Man! 🥰
Wow just what I needed
Thanks tim
Vera level so good please upload python+JavaScript tim
This is exactly what I wanted. Thanks
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!
Thank you! this was really informative. You are a great teacher :)
Hello Tim , Thanks for your awesome video and i started working on it
Yessss..... FINALLY WHAT I NEEDED
NICE TIM THIS IS WHAT I WAS LOOKING FOR TO BIND ALL AND HOW TO MAKE IT
Great content 🎉
Nice video🔥
Thanks for the helpful and interesting video!
Damn finally I've caught up with you! Nice video as usual🔥
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)?
A tutorial with Flask + HTMX would be much appreciated!
Thanks a lot for the video.
Great one! Do one for FastAPI backend and React frontend ❤️
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.
Go and react project needed 🎉
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
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?
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.
Thanks 👍 ❤
Thanks a lot!
this is a banger and i know bangers
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!)
Hey Tim can you make a tutorial for building a fullstack website using react redux and django it would be really helpfull
Спасибо за видео :)
Please make a django and react course. Those two comprise one of the best tech stack
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?
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.
Fair enough, the idea is to let you style it on your own. Unless you want to watch me do css for 2 hours?
WOW just the video i need Thank you so much. can you make a Django + React Vite w/ deployment process in it?
INTERESTING!😃
❤thanks alot
great work... how can I deploy this app on Vercel or similar platforms. Thanks
thanks!
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?
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
Nice one
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
thank you for this tutorial but how to deploy both of them together
Can I ask what theme and font you are using because its a lot clearer than mine on vscode
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.
I have a ton of flask tutorials on my channel they’re more beginner friendly why don’t u check those out!
@@TechWithTim Exactly what I'm doing right now😂 sorry for the dumb question
can you do a video on how to deploy flask + react?
Thanks this is what I can say to
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.
FastAPI + React example please. Thank you for Flask and Django.
Would you be able to do a tutorial on reflex?
How do we protect our api not to be accessed from different URLs?
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?
sublime text- super light weight
can you explain how languages talk to each other? im confused how they fit together.
What key switches are you using? 😅
Damn I need to level up my game
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!!!!!!!!
Golden
Any recommendations on where to start to get the skills and insights needed to understand a bit more of this video.
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
u need to use __init__ to the class 16:18 timestamp (not reqired tho)
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
can you please do a fastAPI and nextjs with AUTH flows, And how to implement RBAC
Do another with django and react
i think you’re using an old version of flask sqlalchemy? correct if that’s wrong
How do you publish Python backend to a server? Does it just go in the public/html folder like PHP does?
It’s a bit of a different process, I have various deployment videos on my channel showing how to deploy a flask app.
So cooll
add bootstrap, some beauty please.
nice tut although
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.
would it be smart to make a virtual environment for installing the Python libraries?
Yes!
django and react project needed
Fastapi and react
Would have a complete project if you would have consider index.html and some config for hard-coded urls in jsx
Fastapi + react or django ninja + react pls ❤
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
I have a few videos covering that already, you can check my "Million Dollar Project Idea" video
@TechWithTim thank you yeah I'll check it out.
vs code theme?
should explain using drawing.
Waitong for django and react project....