I'd like to see more simple project like this. Especially React + Express combinations :)
@samareshdas7672 жыл бұрын
You stole my comment. Lol. That'd be really helpful
@social_hub47032 жыл бұрын
Svelte aswell! Not much full stack content out there with sveltw
@bluegam3r_9752 жыл бұрын
You should learn nextjs
@reydez842 жыл бұрын
yeah same, would be nice!
@wimpie19902 жыл бұрын
I agree, this video is to project specific. No use into explaining only one road to the solution. I find the videos about "new things in javascript" or "how to write better/cleaner code" way more interesting and helpful in general.
@anweshandev2 жыл бұрын
Quick tip: If you write *npm i -D * it is just to install dev dependencies.
@anweshandev2 жыл бұрын
As you said this is perfect... I was making a file sharing project... And now I have graduated... 😁😆
@maverick72912 жыл бұрын
Is there a file size limit?
@jjfattz2 жыл бұрын
It's impressive how you can communicate and flow through that entire tutorial without any "umms" or choppy mental glitches. Very sharp!
@berk4732 жыл бұрын
Your tutorials are the most efficient and helpfull ones!! Thank you
@smeefer2 жыл бұрын
Thanks for this!
@tarekghosn36482 жыл бұрын
maaan i was just yesterday working on your 2019 video about jwt im so happy you had this video happen as well
@tusharrai97622 жыл бұрын
create a file compression app using this one, it would be good content
@muhammadtalha8042 жыл бұрын
Best demosntration of concepts
@mattplaygamez2 жыл бұрын
I saw this a week ago in our gh repo. Nice video
@sailee52082 жыл бұрын
Thanks Kyle! Fully explained, super nice project.
@bachbachir39982 жыл бұрын
Very simple project, I like it, Please keep going with this method, Thank you very much.
@t.rinity.2 жыл бұрын
I really wanna know how to secure the mern stack. That'd be amazing. I love all your videos about pieces of the mern stack you've been doing they're so helpful👍❤🤗 thank you Kyle!
@Chris-qg6kc2 жыл бұрын
That Kyle guy...he’s pretty good. He just might make it to 1 mil subscribers one day....🧐
@thawyezaw54802 жыл бұрын
Not surprised, you are so good as always!
@mubarakmustapha11442 жыл бұрын
Your project is amazing, I love it ♥️♥️♥️
@sambathravi65802 жыл бұрын
Pls make video table add,delete selectable,sortable, column draggable using js
@Elduque402 жыл бұрын
Awesome!!! Maybe dockerising everything would be even better so people don’t have to install mongodb and what not locally
@neociber242 жыл бұрын
That sounds complex for a beginner following the tutorial
@paulthomas1052 Жыл бұрын
Great tutorial. Thanks so much.
@suleimansuleiman67842 жыл бұрын
Thank you from syria❤
@ohskynyrdlynyrd2 жыл бұрын
Amazing as always
@mihailodrinic40032 жыл бұрын
Can you create a tutorial where you use the mern stack?
@topcoderfullstack2 жыл бұрын
Really really like you toturial
@samadityajatar35392 жыл бұрын
If you encounter a mongoose uri error add these lines to your code const dotenv = require('dotenv'); dotenv.config({path : "./views/config.env"})
@MG-nn8dy Жыл бұрын
Gah! Deployed to Heroku with an 'ephemeral server,' the dyno will cycle and flush the 'uploads' folder regularly. Was trying to migrate from mysql2 to mongo to store the images in the DB instead of the image path... looks like S3 buckets is almost a must.. gah
@gideonabel90142 жыл бұрын
God! I’m loving this
@vinodvankar7252 жыл бұрын
Amazing as always, 😊😊
@shubhamparmar95552 жыл бұрын
Hey, dev I'm following your videos, and all are so amazing that I can't describe them in words. Just wanna say thank you so much and one last need your help can make an e-commerce website with frontend and backend in (mern) that will be good for us to )).
@eminmuftic99272 жыл бұрын
You should definitely do a more in depth tutorial on multer and how to work with files in large applications
@sandipsaha44692 жыл бұрын
More backend engineering videos please
@alihamoud68632 жыл бұрын
First thank u very very mach for this lessons, second can u learn us about build simple audio book , all love❤
@linmus23702 жыл бұрын
That was so awesome! Thank you so much. Could you make more videos on MERN stack, maybe on GraphQL as well, please?
@srinivasjoshi46932 жыл бұрын
Please teach us how to host this also 😃
@ninjacodertech2 жыл бұрын
instead of doing something like if (file.password != null) just do if (file.password)
@septimusforster10 ай бұрын
Kyle, Kyle. (sigh) Thanks a bunch.
@andrewkarp10 ай бұрын
How would you handle giving users the ability to download multiple files into one folder then into their machine
@anishsawant9790 Жыл бұрын
I am getting an error for File.create it says cannot read properties of undefined (reading 'create' )
@LeadEngineer2 жыл бұрын
Problem is that the friend won't have access to the localhost if you don't port it
@samuelhulme83472 жыл бұрын
That is the problem with every type of server
@LeadEngineer2 жыл бұрын
@@samuelhulme8347 You're right 100%. But I don't know why he started with , "You can send this to a friend". You can if you do a little bit more work that I haven't seen in the clip. Or did I miss something?
@callmejd96652 жыл бұрын
@@LeadEngineer The project as seen in the video is run in a local development environment, as explained in the setup portion of the video. When you run the project in a production environment, you would run it on a dedicated server with a constant IP-address/domain and optionally adjust the environment variables. In that case, the link would then be accessible by other people. But you are correct in that it wasn't explicitely shown in the video how to do that.
@Ryo210962 жыл бұрын
Can you tell me about other windows also shrink when you resizing one window in this tutorial?
@chaitanyagatreddi26706 ай бұрын
can we do it using mysql?
@parthapaul43062 жыл бұрын
is it possible to host this project in heroku , I mean does herouku allows for file upload and download ???
@a.k.3531 Жыл бұрын
Great tutorial! Learnt so many thing so quickly. However, I have some issues. I am at File upload server logic section, and when I click share btn it says _message: 'File validation failed'. Do you have any ideas what's that all about?
@charanbhavisetti219410 ай бұрын
can we deploy this application on web somehow ?
@tigerwalkcommunications74262 жыл бұрын
Bra please complete this project 🔥😩..... I'm failing to redirect pages, I want the link to be on it own page
@ren512427 күн бұрын
Does it work for any files?
@butowski96892 жыл бұрын
Can you make a video on customer support chat please
@morphman862 жыл бұрын
With this, you're just one CDK Basics tutorial away from making modern, serverless, service-based cloud applications.
@bluegam3r_9752 жыл бұрын
This Project could be made with nextjs very well
@sanjeevmurmu65052 жыл бұрын
why my download dialog box does not appear when i click on the download option
@misterl81292 жыл бұрын
Anyone can explain the why of the 2 methods get and post "file:id" please. I dont understand the thing about the form with the get and post :c
@bulldog20242 жыл бұрын
If someone cancels the download, the download count should not increment, correct?
@RawandFaraidun2 жыл бұрын
how is this shortcut works in 6:43
@user-eg4nz8zu4r2 жыл бұрын
How do I avoid entire app crashing when I visit a file path that does not exist?
@ezmn4gdas2 жыл бұрын
How would I do this with sqLite instead of MongoDB
@mattoattacko2 жыл бұрын
Anyone know how to deploy this? I think the EJS makes it not a simple drag-drop into Netlify.
@shapelessed2 жыл бұрын
I'd honestly just use something like PouchDB and have the database tirhgtly integrated into the app...
@dinethjayakody3442 жыл бұрын
can we use react instead of ejs?
@chamith2562 жыл бұрын
Thank you for slowing the video. I didn't have to do it by myself❤💚🤎🤣
@harshraj41612 жыл бұрын
File.create Is giving me error, Can anyOne help??
@akam99192 жыл бұрын
First
@programming80832 жыл бұрын
At 22:17 when mentioning the file id, isn't it supposed to be file._id and not simply file.id? Do both of those work regardless?
@mykalimba2 жыл бұрын
The "file" constant here is a Mongoose Document, whose API provides an "id" property, which is a string representation of the regular mongodb ObjectId identifier _id.
@programming80832 жыл бұрын
@@mykalimba Oh I see, that makes sense. Thanks for replying!
@anandhukraju80442 жыл бұрын
technically if we pass the url "/uploads/fillename" we should be able to retrieve it right?
@mykalimba2 жыл бұрын
No, because neither the uploads folder nor anything within it are exposed as endpoints in the express router.
@anandhukraju80442 жыл бұрын
@@mykalimba ah shit man how did I miss such a silly thing.........
@patrickgrady82132 жыл бұрын
I love your videos. I subscribe and like. I hate that you don't use semicolons. Is there a reason you don't. Js is a c like language which means semicolons are necessary. Just because you don't actually use them, the browser puts them in for you. There are many bugs that can come from this and it is very hard to find them
@M9625Rahul2 жыл бұрын
Semi colons are optional Also that is prettier extension which adds the semicolon
@RedStone5762 жыл бұрын
there will be no bugs if you know what you're doing
@patrickgrady82132 жыл бұрын
@@RedStone576 if I knew what I was doing why would I be watching this video. Thanks for your help
@patrickgrady82132 жыл бұрын
But just to be sure. Semicolons are NOT optional in the JavaScript virtual machine inside the browser. I'm guessing v8. You are wrong v8 puts them in for you because you are lazy.
@RedStone5762 жыл бұрын
@@patrickgrady8213 its not only v8, every implementation of ecmascript have this set rules for automatic semicolon insertion. also its not because that people are lazy, but the asi rules is already pretty well thought that many people is confident that their code will not break. well yes semicolon is necessary in most C like languages but that because back then line terminator is needed so they can simplify the compiler, unlike when js was developed; it's goal was to be an accessible scripting language that everyone can easily learn. hell even some modern languages coding convention recommends you to *not* use semicolon whenever its possible, it's just up to you if you wanna use it or not :-)
@manthanank2 жыл бұрын
Is it work with multiple file upload and accessing one among it?
@sneak94072 жыл бұрын
Yes. With multer you can can multiple uploads or just get a single file from multiple uploads.
@manthanank2 жыл бұрын
@@sneak9407 But previously uploaded is replaced by current uploaded file.
@manthanank2 жыл бұрын
can we show all uploaded in list or in table format?
@shawnyeo70862 жыл бұрын
20.24
@CrAzZyKiLleR012 жыл бұрын
I find it so disappointing that you absolutely do not respond to questions or hints/comments from the community But yeah, nearly 1 Mio. Subs prove you right
@WebDevSimplified2 жыл бұрын
I do respond to some comments but I get hundreds a day. I cannot keep up with and respond to them all. I try to read a lot of them though.
@kathithsahu18042 жыл бұрын
Second
@diwakar_tsn2 жыл бұрын
🙂❤️
@r4rama2 жыл бұрын
third
@AtomTCP2 жыл бұрын
php is mum
@ritikdwivedi59832 жыл бұрын
0x0
@RafaelPerches2 жыл бұрын
Dude, like every video of yours, this is awesome. But hey, what's the rush? Jeeeeeeeeeeeeeeesus....You speed so much it's like you're on 1.5x
@marvelBoy19092 жыл бұрын
Can you please make a video to connect this to hosted mongodb database and create a shareable link to anyone instead of localhost 🙏
@ryan_roga2 жыл бұрын
I notice you use `npm i` over `npm install`. Did you know you can use `-D` instead of `--save-dev`? `npm i -D nodemon` will save you a few keystrokes ;)
@Bandit012 жыл бұрын
can you please make a video on giving better names to your classes,id,variables etc........
@morphman862 жыл бұрын
Should probably be a short about that, but it's quite simple: Make it as descriptive as possible, so that somebody who's ever seen the code before knows exactly what that symbol does.
@panoscool_2 жыл бұрын
Kyle, why you didn't use imports instead of require? What version of nodejs you're using?
@ronakmehta81062 жыл бұрын
is there a reason to use ejs instead of react or normal html in the application ?
@neociber242 жыл бұрын
I think is just simplicity for the tutorial sake
@GeronimOCZECH2 жыл бұрын
In ejs you can render html with data inside. Just a template lang like pug, hbs, etc.. React is more like express - it is mostly used for routing and rendering
@MYNAMEISKLAY2 жыл бұрын
I think this tutorial was for those who are learning JS who also desire to learn backend dev quickly. Him doing this in React or another framework would've required him to actively teach those viewers how to use said framework.
@bryson26622 жыл бұрын
yes! more backend stuff.
@mdhossen70822 жыл бұрын
Wow Amazing and very helpful video, Thanks web dev simplify,
@happynewyearw2 жыл бұрын
Great video as always! But it will be even better if we could start seeing ES6 modules import/export syntax instead of the old require (maybe just mention it only when necessary). so the whole community can learn and move on with modern syntax.
@mohammadmahdifarnia53582 жыл бұрын
Even though i think commonjs has good abilities like overriding require and using exports inside functions. import/export just feel like something new ( is which I appreciate too )
@dilanbesong18772 жыл бұрын
Thanks for this video sir, please can you make a video on how to auto delete documents in mongodb. Just like in WhatsApp status, using mongodb and express.
@shinobiplug68242 жыл бұрын
I have a question. What library is used for the public folder. You created a views folder since you using ejs.
@ghfranklin2 жыл бұрын
If this is deployed, will it work? since we have locals.fileLink in the ejs files
@breenud39tv2 жыл бұрын
What would you recommend to use better SQL, or mongodb?
@weshuiz13252 жыл бұрын
There is no better, only what is the right tool fir the right job
@breenud39tv2 жыл бұрын
@@weshuiz1325 I want it for more of a social media up
@M9625Rahul2 жыл бұрын
Then SQL
@spurdosparde8432 жыл бұрын
What about using FastAPI?
@wonghw2 жыл бұрын
One of the best tutorial that I have ever watched! Thank you very much
@onuohagraphics41332 жыл бұрын
As cool as always, thanks for simplifying the web 😁😊😊
@JoezihFreelancer2 жыл бұрын
I love your coding concept
@MiSt33002 жыл бұрын
very interesting, thanks!
@ccoedIT2 жыл бұрын
Keep going broo👍👍👍
@Its_muhib2 жыл бұрын
Love
@IyanSR2 жыл бұрын
Hi Kyle, thanks for the content, always! If you dont mind, can you share how to create web3 wallet like metamask? Thank you
@adityanayak012 жыл бұрын
+1
@luce95747 ай бұрын
Thank you (Web Dev Simplified) this helped me a lot