Full Stack Project with Vue.js and Flask (Games Library App)

  Рет қаралды 62,384

Bek Brace

Bek Brace

Күн бұрын

Пікірлер
@BekBrace
@BekBrace 3 жыл бұрын
Hope you’ll enjoy this project and learn something new from it
@travelworld6602
@travelworld6602 2 жыл бұрын
how did you save the file in nano? with which command?
@BekBrace
@BekBrace 2 жыл бұрын
@Ahmed Shahriar thank you
@BekBrace
@BekBrace 2 жыл бұрын
@@travelworld6602 Ctrl X
@animeshmishra4282
@animeshmishra4282 3 жыл бұрын
Finally a video that uses 3 tier architecture concept and not just simply Flask that renders html pages to provide dynamic content
@BekBrace
@BekBrace 3 жыл бұрын
Thank you, friend 🙂
@luizferez89
@luizferez89 3 жыл бұрын
This is gold, please more of such vue projects, super work thank you very much man
@BekBrace
@BekBrace 3 жыл бұрын
Thanks a lot friend 🙏
@gabrielteuchert3699
@gabrielteuchert3699 Жыл бұрын
Not the commenting guy on KZbin but man, this is awesome and I just have to thank you for such a well guided tutorial! Thank you! The first steps are kinda overwhelming if one want to take the step from python coding to a full-stack project 🦈 You saved me days of scrolling through documentations with this vid and it is indeed really enjoyable to watch - thank you Bek (:
@BekBrace
@BekBrace Жыл бұрын
Wow, thank you so much for your kind words. I did my best, and i am glad you enjoyed it and found it useful, cheers mate.
@lovelyalicekim
@lovelyalicekim 6 ай бұрын
Thank you so much for this amazing tutorial. It tooks 2days to finish but I understand the rough concept of flask and vue through the journey. Your explanation is so easy to understand as I have an experience in node.js and express, made broaden my knowledge so much!! Really appreciate 💌
@BekBrace
@BekBrace 6 ай бұрын
Hey Alice, thank you for watching the whole tutorial, this is really great !
@Lanciz
@Lanciz 8 ай бұрын
I find this video-tutorial is AMAZING, but unluckily I cannot follow it cause of a lot of errors (prob outdated versions and conflicts). Is there any chance you publish a 2024 version of this project? Thanks for what you do!
@BekBrace
@BekBrace 8 ай бұрын
Thank you so much. Yes I might refactor the code to create a slightly different app but with same concepts
@marcus7387
@marcus7387 3 жыл бұрын
I was looking for this !!!!! Thank you so much sir for your great videos
@BekBrace
@BekBrace 3 жыл бұрын
Great to hear :)
@monasser6
@monasser6 3 жыл бұрын
Great explanation , thank you so much for the effort
@BekBrace
@BekBrace 3 жыл бұрын
Thank you 🙏
@stephenthumb2912
@stephenthumb2912 2 жыл бұрын
seems like a good tutorial but there's just way too many issues with eslint. problem doing the edits, eslint errors. trying to install axios, more eslint errors. not sure if this is just my installation of node but I started brand new and still more eslint issues. kind of weird to me that a linter dependency would cause so many issues.
@creet_z
@creet_z Жыл бұрын
yeah wish I could follow along but can't figure out how to fix the eslint and prettier errors
@戚圣嘉
@戚圣嘉 2 жыл бұрын
The video is great! That's real full stack !
@BekBrace
@BekBrace 2 жыл бұрын
Thank you so much 🙂
@yukinorhiko7388
@yukinorhiko7388 3 жыл бұрын
Thank you Bek👍 Great Job !!!
@gleb.stachev
@gleb.stachev Жыл бұрын
First of all, thank you for the explanation. There are two question: How to transfer data that cannot be displayed on the flask route for free access (after deploy). And the second question - is it possible to make part of the routes on flask, and part on vue for one site ?
@BekBrace
@BekBrace Жыл бұрын
Thank you for watching 🙂 I will look into both questions and I will get back to you later. Cheers.
@gleb.stachev
@gleb.stachev Жыл бұрын
Thank you, it's really useful materials ! Only, if you will have time, it's can be to complicated, I understand... or maybe you will want to add here tutorial video on this channel, later.
@avinashpatel6745
@avinashpatel6745 3 жыл бұрын
Thanks Bek, and I would like to see more VueJs tutorials with FastAPI or Django plzz man
@BekBrace
@BekBrace 3 жыл бұрын
Thank you Avinash, I’ll do my best 🙂
@limxunyi1823
@limxunyi1823 2 жыл бұрын
Hi Bek! Thank you for the video, i definitely learned a lot from this video. I was just wondering if you have any videos or experience deploying this type of builds (where you have to run both the Flask and Vue server)? I am a bit confused how to deploy them.
@BekBrace
@BekBrace 2 жыл бұрын
Hey Lim. Thanks a lot for your comment ☺️ Yes, a full stack app is best being deployed using Heroku services. You can check Heroku out online, i do t think I've ever made that on the channel though, bit it should be straightforward. This works with any frontend/backend interactive app, (react And Django, Vue and fastapi, etc..)
@limxunyi1823
@limxunyi1823 2 жыл бұрын
@@BekBrace Thank you for replying to my comment! Your video was really helpful to building the application that I needed to. Really appreciate it!
@BekBrace
@BekBrace 2 жыл бұрын
@@limxunyi1823 you're always welcome
@mailtosrajesh
@mailtosrajesh Жыл бұрын
I am a experienced desktop developer. Have knowledge on python. But new to web , flask and Vue.js . Can I start with this course? Any recommended tutorials to start vue and flask?
@BekBrace
@BekBrace Жыл бұрын
Sure, you can start learning flask already. If you're experienced with HTML CSS and JavaScript, then you can learn Vue very quickly
@mailtosrajesh
@mailtosrajesh Жыл бұрын
@@BekBrace thanks. Will continue this course.
@BekBrace
@BekBrace Жыл бұрын
@@mailtosrajesh I am sure it will be useful if you're good in Python already - Good luck.
@HenryChidubemEzeh
@HenryChidubemEzeh 3 ай бұрын
That's my stack. HTML, CSS, JavaScript, Vue JS, python Flask, and mongodb database.
@pinheirobastos
@pinheirobastos Жыл бұрын
Amazing tutorial! Could you share which kind of extension/app you use for the icons?
@BekBrace
@BekBrace Жыл бұрын
Thank you )) Surprisingly, it's simpler than that, I use a simple online website [getemoji.com] with different emojis and copy the one that I look for. That's it :)
@mauricefakhry8039
@mauricefakhry8039 3 жыл бұрын
Hit Like before even opening it :) thanks a lot, bro
@SanjoliVashisth
@SanjoliVashisth 3 ай бұрын
Prettier formatter is not working I have to do it manually.
@BekBrace
@BekBrace 2 ай бұрын
Had the same issue
@mischeiwiller
@mischeiwiller Жыл бұрын
The tutorial so far is pretty nice! I enjoy it. I just have some issue with the eslint: Probably something in my configs is not right, because i always get outputs like this: Compiled with problems: × ERROR [eslint] /Users/michaellappert/Downloads/repos/flask-vue-library/frontend/frontend/src/components/Shark.vue 2:3 error Delete `··` prettier/prettier 3:1 error Delete `····` prettier/prettier ... /Users/michaellappert/Downloads/repos/flask-vue-library/frontend/frontend/src/router/index.js 3:19 error Replace `'../components/Shark.vue'` with `"../components/Shark.vue";` prettier/prettier 9:9 error Replace `·:·'/shark'` with `:·"/shark"` prettier/prettier ... ✖ 18 problems (18 errors, 0 warnings) 17 errors and 0 warnings potentially fixable with the `--fix` option. And i am not able to fix it yet. Do you have any idea where this comes from? Thanks a lot if you can help out on this issue!
@BekBrace
@BekBrace Жыл бұрын
Hey thank you so much for your comment :) Well, I think the errors you're encountering are related to code formatting issues reported by ESLint, and it specifically mentions the prettier/prettier rule. This often occurs when there are inconsistencies between your code and the Prettier configuration. (edit) BTW, you can use : npx eslint --fix This will automatically fix ESLint errors that are fixable.
@waelmohameddd
@waelmohameddd 2 жыл бұрын
Subscribed because of this great tutorial too !!!!! Thanks a bunch 🙂
@BekBrace
@BekBrace 2 жыл бұрын
Thank you for watching 🙏😊
@DontBeDumb-z6z
@DontBeDumb-z6z Жыл бұрын
my eslint does not perform the same as yours, even when following instructions exactly, mine is throwing all kinds of errors and is extremely burdensome
@toasterv4205
@toasterv4205 Жыл бұрын
hey how can i create a searchbar in navbar and display data on a page?
@yoyo0020
@yoyo0020 Жыл бұрын
Thanks for the video, how would I handle deploying this web app? Would I deploy the API seperately and the Vue app seperately and just make the axios fetch from the API?
@BekBrace
@BekBrace Жыл бұрын
Hey, thanks for this important question, and I am thinking of making a video on how to do it actually. But to give you an idea on what can you do, well, this can be done by deploying the backend and frontend separately. You'll also need to configure them to communicate with each other via HTTP requests (e.g., Axios) as you mentioned. Once you have your project ready, you can start by: 1- Deploying the Backend (Flask) Choose a hosting provider or server to deploy your Flask application. Common choices include cloud platforms like AWS, Azure, Google Cloud, or a dedicated server. Set up the server environment, including installing required dependencies and configuring the web server (e.g., Nginx or Apache) to reverse proxy requests to your Gunicorn server. Deploy your Flask application to the server and configure it to start automatically, typically using a process manager like systemd or supervisor. Ensure your server's firewall and security settings are properly configured to protect your API. Then: 2- Deploying the Frontend (Vue.js) Choose a hosting provider or server to deploy your Vue.js application. Common choices include cloud platforms, static website hosts like Netlify or Vercel, or a separate directory on the same server as your backend. Upload the contents of the dist folder to your chosen hosting provider or server. Configure your server to serve the static files. Ensure that your Vue.js app's API requests are pointing to the correct production Flask API URL. Hope this answer is satisfactory - All the best now
@yoyo0020
@yoyo0020 Жыл бұрын
@@BekBrace Thank you very much
@ahmedssss5
@ahmedssss5 2 жыл бұрын
More Vue and Vite also please _ great tutorial man, thanks 👍
@BekBrace
@BekBrace 2 жыл бұрын
Thank you, I'll do my best 😉
@jaimeviloriogreen
@jaimeviloriogreen Жыл бұрын
I love pipenv, the best one!
@BekBrace
@BekBrace Жыл бұрын
mine too
@PiaRiachi
@PiaRiachi 2 жыл бұрын
Nice. Do you have a vue 3 version of the code?
@BekBrace
@BekBrace 2 жыл бұрын
Nope.
@farizabduhakimov5970
@farizabduhakimov5970 3 жыл бұрын
Hi I really liked your lessons and started learning flask as well, please make a video tutorial on Flask music web application. Thanks
@BekBrace
@BekBrace 3 жыл бұрын
Thank you Fariz , glad you found it useful :)
@farizabduhakimov5970
@farizabduhakimov5970 3 жыл бұрын
@@BekBrace Of course, I look forward to more new and quality video lessons ;)
@DontBeDumb-z6z
@DontBeDumb-z6z Жыл бұрын
seems like a good tutorial but in practice I can't do anything with countless eslint errors that prevent me from actually doing anything... insanely frustrating
@jeanleloup2205
@jeanleloup2205 3 жыл бұрын
Amazing job 🔥 🔥 🔥
@mohammedaladi2996
@mohammedaladi2996 3 жыл бұрын
could you please show us how to develop app or how to upload this project on internet ? like pythonanywhere
@BekBrace
@BekBrace 3 жыл бұрын
I am developing a FastAPI App and will show you how to deploy it on heroku
@mahendranath2504
@mahendranath2504 2 жыл бұрын
Thank you so much ❤❤❤
@BekBrace
@BekBrace 2 жыл бұрын
You're welcome my friend
@sajaldhingra9321
@sajaldhingra9321 Жыл бұрын
Hey! I learned a lot, thanks mate
@BekBrace
@BekBrace Жыл бұрын
You're welcome, my friend
@turembekov
@turembekov 3 жыл бұрын
Thank you so much for this tutorial friend.
@BekBrace
@BekBrace 3 жыл бұрын
You’re welcome, my friend
@kristyanlofrido7451
@kristyanlofrido7451 Жыл бұрын
if axios retrive html how to render it in component without using v-html any idea?
@BekBrace
@BekBrace Жыл бұрын
f you want to retrieve HTML using Axios and render it in a component without using the v-html directive, you can achieve this by leveraging the DOM manipulation capabilities of JavaScript. Here's a step-by-step guide on how to do it: Fetch HTML Using Axios: Start by using Axios to fetch the HTML content from the server. You can do this in your component's lifecycle hook (e.g., mounted or created). javascript Copy code import axios from 'axios'; export default { data() { return { fetchedHtml: '' }; }, mounted() { axios.get('your_url_here') .then(response => { this.fetchedHtml = response.data; // Call a function to process and render the HTML this.renderFetchedHtml(); }) .catch(error => { console.error('Error fetching HTML:', error); }); }, methods: { renderFetchedHtml() { // Parse and render the fetched HTML // You can call this function after fetching HTML } } } Parse and Render HTML: Once you've fetched the HTML content, you can use the DOM manipulation capabilities to parse and render it. A common approach is to create a hidden element (such as a ) where you can place the HTML content, and then append that element to the component's main content. javascript Copy code renderFetchedHtml() { const tempDiv = document.createElement('div'); tempDiv.innerHTML = this.fetchedHtml; // Copy the nodes from the temporary div to your component's element // For example, assuming you have a div with class "content" in your template: const targetElement = this.$el.querySelector('.content'); while (tempDiv.firstChild) { targetElement.appendChild(tempDiv.firstChild); } } Styling and Adjustments: Depending on the content and the CSS styles, you might need to adjust the styling or make additional adjustments to the rendered HTML. Remember that manipulating the DOM directly like this can make your code more complex and harder to maintain. In many cases, using the v-html directive is a more straightforward and safer approach. If possible, consider restructuring your component to work with Vue's reactivity and components system while using v-html to render HTML content. Hope this was helpful, Best, Amir
@jingzhenwang9713
@jingzhenwang9713 Жыл бұрын
Why is my "played" value always false in the first modal, does someone have the same problem as I?
@BekBrace
@BekBrace Жыл бұрын
Hey there. So, I think the "played" value is consistently false in the first modal, and without seeing your code where you might have mistakenly produced a typo I can advise you to check the GitHub repo in the description, and compare the code - if the error persists let me know, we will figure something out
@-.....-.....-..............-
@-.....-.....-..............- 2 жыл бұрын
This tutorial is well made
@BekBrace
@BekBrace 2 жыл бұрын
Thank you!
@jawed9691
@jawed9691 Жыл бұрын
does this contain the use of celery?
@BekBrace
@BekBrace Жыл бұрын
no
@jawed9691
@jawed9691 9 ай бұрын
why do you have a frontend inside a frontend, cant we directly make a frontend from our root directory @@BekBrace
@SwatejTech
@SwatejTech 4 ай бұрын
Where is the codebase link?
@BekBrace
@BekBrace 4 ай бұрын
Open your eyes you'll find it
@nangapple8290
@nangapple8290 Жыл бұрын
Hi what is the name of your extension?
@BekBrace
@BekBrace Жыл бұрын
Which one
@BRISKLYHIDDEN
@BRISKLYHIDDEN 3 жыл бұрын
Thank you for great tutorial
@BekBrace
@BekBrace 3 жыл бұрын
My pleasure 🙏
@gazchao
@gazchao 3 жыл бұрын
Thanks. But there is too many inconsistency in this sharing, it just won't work without debugging your code.
@BekBrace
@BekBrace 3 жыл бұрын
What do you mean ?
@gazchao
@gazchao 3 жыл бұрын
@@BekBrace There few inconsistency on variable naming like, there is editForm in vue script, and suddently in your video it changed to editModalForm, and played is defined as empty array, it got warned by vue.
@BekBrace
@BekBrace 3 жыл бұрын
@@gazchao 👍
@gazchao
@gazchao 3 жыл бұрын
@@BekBrace Thanks for the video, that taught me a lot. Thumb's up.
@BekBrace
@BekBrace 3 жыл бұрын
@@gazchao thanks 🙏
@open-source243
@open-source243 3 жыл бұрын
Thanks thanks for your effort :)
@BekBrace
@BekBrace 3 жыл бұрын
Thank You for watching :)
@danielschmider5069
@danielschmider5069 Жыл бұрын
You should really show the debugging process as well, not only how to correct them - most of them were typos, and the fix is obvious. It is however not trivial how to debug and find them.
@BekBrace
@BekBrace Жыл бұрын
You asked and answered yourself actually, so i don't understand what's your demand now.
@danielschmider5069
@danielschmider5069 Жыл бұрын
@@BekBrace my "demand" is to show your debugging process. How did you find where the typos are, what did you use to figure it out, what errors were you getting, etc...
@SANJOLI-i9b
@SANJOLI-i9b 3 ай бұрын
bro I am only getting errors please help me.
@BekBrace
@BekBrace 3 ай бұрын
bro what errors ?!
@SANJOLI-i9b
@SANJOLI-i9b 3 ай бұрын
@@BekBrace bro my prettier code formatter isn't working. Now I have to format the errors manually!!
@salehm9631
@salehm9631 2 жыл бұрын
Thank you
@ilaydelrey3122
@ilaydelrey3122 10 ай бұрын
Wish this would be Vue3
@BekBrace
@BekBrace 10 ай бұрын
You can convert it to Vue 3 as a personal project
@i4h2x3
@i4h2x3 10 ай бұрын
15:10
@BekBrace
@BekBrace 10 ай бұрын
?
@i4h2x3
@i4h2x3 10 ай бұрын
@@BekBrace it's just a reminder for me, where I was
@olivechevalier2896
@olivechevalier2896 3 жыл бұрын
Super 🔥
@Aryxst
@Aryxst 2 жыл бұрын
Fantabolous
@BekBrace
@BekBrace 2 жыл бұрын
Thank you 😊
@li.tevezz
@li.tevezz 2 жыл бұрын
privet 👍
@BekBrace
@BekBrace 2 жыл бұрын
Привет
@DontBeDumb-z6z
@DontBeDumb-z6z Жыл бұрын
My eslint is not cooperating with prettier
@Oncashy
@Oncashy Жыл бұрын
bro got russian accent
@BekBrace
@BekBrace Жыл бұрын
I am Russian
Vue JS Crash Course
1:50:52
Traversy Media
Рет қаралды 1,3 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Vue 3 & Composition API - Full Project
1:09:15
Traversy Media
Рет қаралды 149 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Learn Flask for Python - Full Tutorial
46:59
freeCodeCamp.org
Рет қаралды 1,9 МЛН
Rust Vs Go - Which language is better ?!  - The Monthly Podcast
9:34
User Authentication in Flask App using JWT [ JSON Web Token ]
24:32
Python REST API Tutorial - Building a Flask REST API
1:14:01
Tech With Tim
Рет қаралды 783 М.
The New Outlook is TERRIBLE
20:19
Chris Titus Tech
Рет қаралды 110 М.
Python Django + Postgre SQL + Vue JS | full-stack app tutorial
1:00:24
Art of Engineer
Рет қаралды 31 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН