im learning now, because of your tutorial thanks and love from philippines!
@Ndunda_Kelvin4 ай бұрын
Thank you for the content, we love you.
@玉姬-z4z4 ай бұрын
Hey Anson, love this video! I really like the color scheme you're using in your VS Code setup. Could you please share the name of the color theme you're using in this video?
@learnwithjaved-b4b4 ай бұрын
Bro, you are my favorite and please upload videos on Node.js and Mongo DB. That will be very much appreciative. Thanks ❤
@pmrebel273311 ай бұрын
you dont know how you are helping me in Nigeria, i cant afford to buy anycourse because of the dollar to naira exchange and i have no employment so you are a saviour. wont forget you
@slot64210 ай бұрын
Omggggg same but I'm from Ghana, he's really a life saver thanks so much ❤
@lysalberickyoyo436510 ай бұрын
@@slot642 i have solution for u
@ansonthedev10 ай бұрын
Thank you for the kind words and you are very welcome. :)
@johnforeverrules9 ай бұрын
@@ansonthedev thank you for making this comprehensive course. May God bless you and help you to achieve all your dreams and ambitions.
@giorgimindiashvili38109 ай бұрын
wish u all good from Georgia in Africa my brothers, you are good people I have lot of friends from Ghana, Nigeria etc etc
@judevector Жыл бұрын
Wow 😳 if am not mistaken this is the most up to date express api course , its been long i see a new express course now this drop and KZbin immediately dropped it in my feed, Awesome 😊
@ansonthedev Жыл бұрын
Thank you for the kind words!
@annyotamo2 ай бұрын
Even most of the paid courses are not offering what you're teaching here. Thank you so much for giving us such an in depth course
@ansonthedev Жыл бұрын
This course surely blew up, I am thankful that you all found this video. If you have any questions please ask them down below, I do my best to respond to all comments when I check them, which is very frequent. Let me know by replying what other videos you would like to see (Doesn't have to just be ExpressJS)! :)
@AM-nm6ts Жыл бұрын
it s what I wanted to start 2024. thanks a lot
@axlYT Жыл бұрын
What about TypeScript integration? Im coming from frontend and java backend so idk if there is any development server tool (like vite for frontend) or cli command to setup express with TS and also ESlint for regular backend apps. Or is it just a standard to setup it manuallly ? Would be cool to see an actuall pro setup
@axlYT Жыл бұрын
i forgot to mention above thanks for the video it was very helpfull
@ansonthedev Жыл бұрын
@@axlYT You're welcome. I have plans to do a TypeScript setup with Express from scratch!
@oreoneel489 Жыл бұрын
@@ansonthedev I am also waiting for it. please publish the tutorial as soon as possible. and take love for this video.❤
@ericdelmermillen10 ай бұрын
Excellent instruction. I did a full stack software engineering bootcamp this summer and we covered this material but I felt I still had a lot of knowledge gaps. The instruction here moves at a good pace, goes into enough detail and is well explained. I am 1 hour in now, hoping to finish the rest within a week. Will update after finishing the course. High expectations at this point. Great Job Anson.
@ansonthedev10 ай бұрын
Glad you found this video helpful. :)
@TrxsTer Жыл бұрын
2 hours in and I have really learned many useful thing. I came to this video to revise on some of the few things I had forgotten but was amazed to find such a good way to teach. Can't wait to continue and complete the rest of the video.
@ansonthedev10 ай бұрын
A lot of people have asked this question, and I want to address it, I should've mentioned this in the beginning of the video: "Do I need to learn Node.js first before learning Express.js?" Remember that Node.js isn't anything special, it's just a runtime environment that you can simply use to execute JavaScript code on the server-side, or your local computer, instead of the browser. If you already know JavaScript from using it on the client-side, then you honestly will not have any trouble with understanding JavaScript on the server-side. There will be differences, because the browser has its own APIs, and Node.js has its own APIs (remember, browsers have their own JS engine that can interpret and execute code). All you are doing is just writing JS code and having it run on the server side, aka your local machine, and you use Node.js to do that. While Node.js may have a lot of built-in APIs and functionalities, such as the file system API (fs) or the http API, trust me, you will know when you will need to use those APIs when the time comes as you're developing your project. Don't worry about all of those native APIs Node.js provides, every single runtime environment or language will have their own that you don't need to memorize or know until you need to use them. As long as you know how to write some JS code, and execute it on your local machine through the command line, then you should have no problem learning Express.js, or any JS framework. Thus, Express.js is one of the best frameworks to learn as a complete newbie because of its unopinionated nature.
@sauravghosh748710 ай бұрын
Earlier i had zero knowledge of MERN & APIs but After just learning the basics of nodejs, i continued to this video with a lot patience and taking one-week time . Finally in two weeks i am now able to built built REST CRUD apis. A very very big thank youuuu.🙏🤝👦.
@marvinotieno21946 ай бұрын
I've completed this series in roughly 12 days (had to take some time to learn Mongo since I didn't know nothing). This tutorial has been super, thanks Anson.
@mykun8737 Жыл бұрын
I like the way you create these comprehensive full course videos like this, rather than making separate scattered videos.
@doriancerutti5331 Жыл бұрын
Finally, someone who can actually teach🎉 much appreciation!
@ansonthedev Жыл бұрын
Thank you very much! :)
@Ch3mson5 ай бұрын
Not often I am able to sit down and finish an 8 hr tutorial. Thank you for being clear about all these topics!
@ansonthedev5 ай бұрын
@@Ch3mson you’re welcome!
@josu_abad9 ай бұрын
Bro, I've only been through the first 30 min and I see it clearly now!! What a great content, keep it up 💪
@notfound12919 ай бұрын
literally I Just watched the whole course from start to end and its super awesome and helpful , it took me 3 days to complete the course. Thankyou Anson love from India Brother
@sakibb79 ай бұрын
@3:50:00 Can you please help me? i'm getting 400 Bad Request when i am sending post request
@kavinduudara362310 ай бұрын
I have been looking for an expressJS course for a few days, and I have to say that this is the best course I have seen about expressJS. Thank you very much, I learned a lot from this course. liked subscribed ❤
@ansonthedev10 ай бұрын
Thank you very much :D
@yeshavyas29328 ай бұрын
I like how comprehensive the course is, almost every piece of code resonated and explained, great job man, be proud! P.S.: The random 'okay?' brought a smile to my face every damn time
@ansonthedev8 ай бұрын
Thank you very much for the kind words. I’m glad you feel that way :)
@amirhesham9529 Жыл бұрын
This course looks soo good man! It’s gonna be a hit
@three-zeros9 ай бұрын
Hello, Anson! The course is excellent! You explain the most difficult topics very well and quickly! But the question is: will there ever be an Express.js in combination with MySQL, SQLite, PosgreSQL? It would be very nice to see, because there are very few such courses on KZbin
@Newtrojan2 ай бұрын
Yes please. One full backend project with postgres/prisma
@varshanithyanandan10657 ай бұрын
Sir, Words aren't enough to thank you for this course. Your Contribution to the community is appreciable. Lot of thanks. Gratitude from India
@rayyanep8 ай бұрын
1:39:18 if anyone is getting type error undefined {id}, its because your mockUsers are located beneath the middleware, so it is an empty array until you get the declartion order right.
@divypatel168 Жыл бұрын
This course looks soo good man! It’s gonna be a hit
@ansonthedev Жыл бұрын
Thank you very much, I'm glad you like it! :)
@abdulrafaykhan52522 ай бұрын
Well, The best course so thankyou anson, as i had no knowledge of express or any backend tech i watched this video 2 times in a week then practiced the whole video in 2 days.
@sam_temp10 ай бұрын
Bro, love the way you teach man with all the little intricacies amd best practices. Can you give us a one shot on node js and mongoDB as well to complete the trilogy.
@ansonthedev10 ай бұрын
Thank you. I will definitely cover that in the future.
@kirankumarahir793310 ай бұрын
Half an hour into the video, loving it
@ansonthedev10 ай бұрын
Thank you :D
@chevlim11 ай бұрын
Bought a nodeJS course from ProgrammingWithMosh, ended up abandoning that because it is outdated in some aspects. This is clearly more updated, and really easy to follow
@kinggrey25114 ай бұрын
I absolutely love the passport section of the course i love the instructor we rarely see pasport covered in these types of courses ❤
@bilalbeny4172Ай бұрын
I hope you include a section on template engines to make this course more comprehensive and cover all aspects of Express.js.
@long_codesАй бұрын
The testing part is what I looking for 5:49:45, thank you
@yura_darayev9 ай бұрын
Anson, thank you so much for this amazing course! Btw. For anyone using TypeScript and struggling to modify req.session object: You have to first add a new field to class Session in your index.d.ts file (inside your @types/express-session).
@JoaoSilva2222211 ай бұрын
I am finishing HTML and have saved this to get started soon. I really like the pacing, so easy to follow.
@ansonthedev11 ай бұрын
Glad to hear, be sure you learn Javascript and some basics of Node.js first! Wouldn't want you to be dissatisfied without having those two down first.
@JoaoSilva2222211 ай бұрын
thanks man! Will definitely learn javascript first!!! I ´ve just become a subscriber.@@ansonthedev
@ansonthedev11 ай бұрын
Thank you! :)
@riyadqahramanli50518 ай бұрын
probably the best video in 2024 to learn all the core fundamentals of expressjs. great!
You are the best teacher whenever i want to learn something new i first search your channel you teach things in really easy way❤
@MeilyChhon9 ай бұрын
@ansonthedev thank you so much for continuing publishing great course on programming. I just found your channel and become a subscriber / learner immediately because of your precise explanation and easy to code along too.
@rayyanep8 ай бұрын
Hi Anson, your tutorials are simple and easy to follow. Currently a web designer and learning slowly to become a fullstack. Suggestion from my end, you should add presentation to visualize theories/practices that youre explaining instead of showing the code blankly. Other than that, thank you!
@꼰미남-z3r2 ай бұрын
I'm literally very impressed by your tutorial... one of the best.. thanks a lot!!
@Jishanthegodev Жыл бұрын
This course is amazing, your explanation is so perfect
@xzex26094 ай бұрын
this is the greatest ever non Indian course for express that is so explanatory I love it so much I hope it cover all the kinds of api's ( graphql , ....) and websockets that express does.
@ansonthedev4 ай бұрын
this comment is beyond cringe and embarassment
@xzex26094 ай бұрын
@@ansonthedev I really don't meant it that way , it is a really good Express course and while I am half way through it certainly learned a lot from it and I appreciate.
@xzex26094 ай бұрын
@@ansonthedev I don't see it through and I did not see the table of contents, now that I know that you are covering authentication systems and sessions and tokens and middleware those concepts are way more valuable than the different kind of API's that I wish for. I love it I am enjoying it so much and I am really happy that I am getting to get a solid lessons in all those exiting concept that IMO it is rare and most of the videos are not as good as yours.
@utkarshpandey64719 ай бұрын
One of the very latest ExpressJS video and a detailed one too! Thanks Anson!
@ansonthedev9 ай бұрын
Thanks and you're welcome.
@ehjookayted693 ай бұрын
Meanwhile me "Thats why anson is the GOAT , THE GOAT" , thanks for the video man
@juanmacias5922 Жыл бұрын
4:16:00 I feel like you should have mentioned how to get Mongo working locally, you just jumped in assuming the viewer had mongodb, and mongo compass installed lol Edit: Thanks again for the great video. :)
@xen0076 Жыл бұрын
How is this good of a course Free? You have helped us, may god help you back 100x more
@ansonthedev Жыл бұрын
Thank you for the kind words my friend. You're welcome. :)
@zyncc9 ай бұрын
Man you are way too underrated, you deserve atleast 10x the views 😢
@ansonthedev9 ай бұрын
Thank you!
@codewithguillaume11 ай бұрын
Very good tutorial. Thank you my friend.
@bharanikumar40204 ай бұрын
40:45 use if(!filter || !value) return moskusers this makes the above if condition false only if both the variables are set
@dzanful8 ай бұрын
I haven't watched the whole video yet, but I'm coding along and the content so far is really instructive. Regarding the part where the `id` value is validated using the `Number.parseInt()` method, it's worth mentioning that it will convert any value where the first non-whitespace character is a digit, meaning `2foo` will be converted to `2` while `foo2` will return `NaN`. Another important thing to be aware of is that if you pass a hex number `0xa`, it is assumed to have a radix value of `16` (hexadecimal), so the number `10` will be returned. This could be avoided by passing a radix value of `10` as the second argument, then `0` would be returned. Perhaps using a simple regex instead would be a better solution, e.g. if the expression `/^\d+$/.test(id)` evaluates to true, you can safely use `Number.parseInt(id)`, then there is also no need to pass the correct radix value of `10`.
@dfordemo9818 ай бұрын
started my mern stack dev from this video - super understanding and super awesome ❣❣💙💙💙💙💙💙💙💙
@ansonthedev8 ай бұрын
Glad it helped!
@YTCFacts5 ай бұрын
This tutorial is really informative because you explain things in detail. Thank you very much keep it up!!!
@palrevesz8629 Жыл бұрын
This tutorial looks Great, I haven't started it yet but I am allocating appropriate amount of time for it and committing to complete that. I will post my impressions and remarks in reply to this comment when I am finished with tutorial. Have a Happy 2024 everyone ❣👋🌞
@kithenry11 ай бұрын
are you done yet?
@DunckingTest Жыл бұрын
The tutorial is fantastic! I appreciate the clear explanation of concepts. Could you kindly expand it to include integration testing using Vitest and Docker? Additionally, I'd love to learn about setting up deployment with Docker. This would be immensely helpful for many, especially myself.
@ansonthedev Жыл бұрын
Assuming you mean using Vitest for React apps, yes I have plans to make a tutorial for React with Vite and will definitely introduce Vitest with React Testing Library!
@DunckingTest Жыл бұрын
@@ansonthedev Vîtes to test the server code using docker
@Sooraj-Rao6 Жыл бұрын
Wow so clear explantion ,loved it😊
@Kisovn8 ай бұрын
The first course that made me understand and appreciate backend 🙏🙏🙏
@madhurchaturvedi55519 ай бұрын
Now We want react js with mern thank you so much for such a great quality of course keep it up
@mahdihosseini-p8s Жыл бұрын
Finally! After a while I found a great crash course for Express JS ! Thanks Man
@ansonthedev Жыл бұрын
Thank you so much for the kind words! You are welcome :)
@mohiminurrahman6487 Жыл бұрын
waiting for this and you come up with this, Thanks for this course . really helpful
@ansonthedev Жыл бұрын
You're welcome!
@sergiobenitez146810 ай бұрын
Great video, could you make one where you talk about how to structure a server architecture? I found a lot of videos on the MVC design pattern but nothing about the RCSM pattern, for example. It would be great, anyways, awesome express overview, thanks.
@danimusbar11 ай бұрын
Suddenly appear in my home KZbin.. I am subs, keep up bro Please make Typescript tutorial from zero to pro..
@deeper_soundfy552811 ай бұрын
De casualidad apareció en mí inicio este video. Sin dudas lo veré en breve. Según vi en los comentarios, tiene buenas referencias. Gracias por compartir tu conocimiento. Si bien tendré que hacer uso de los subtítulos generados automáticamente, los cuales, aveces son malos, espero poder aprender y reforzar más los conocimientos. Saludos desde Argentina
@hyperknight7284 Жыл бұрын
ANSON THE GOAT DROPS ANOTHER BANGER !
@ansonthedev Жыл бұрын
Thanks for the kind comment! :)
@gokhanyesilyayla90489 ай бұрын
Anson thanks a lot for all the precious content - very clear, very structured - 👍
@worldtrends3296 Жыл бұрын
Your method of teaching is really amazing ❤
@ansonthedev Жыл бұрын
Thank you!
@adityaghosh617011 ай бұрын
Hands down the best(up-to-date) video on express on youtube. Exactly to the poiny, crisp and concise. You just earned a subcriber and also liked the video as well. Btw if you don't mind me asking then what is the font style and the theme that you are using?
@ansonthedev11 ай бұрын
Thanks! Please check the description
@Eyuelfrew Жыл бұрын
thanks so much, we need more of like this
@Saleemkujur5 ай бұрын
Very Much thanks was looking up for the tutorial .... It is very detailed and clear in topics
@priyanshsharma841111 ай бұрын
the query parameter filter technique at 41:00 is unique and this is a time stamp to remember it
@Daniguy-p1b5 ай бұрын
Thanks anson bruh♥, I learned a lot from this course, It's really well structured. Once again thanks bruh, I will give my support always and love from India🤞
@maxkabechani6 ай бұрын
Amazing videos. We need a full Fastify tutorial next
@neerajkumarkondabattula Жыл бұрын
Good one to learn everything in backend once you complete this you have all the knowledge of backend love it 😍
@ashutosh_tiwariАй бұрын
Anson please create a production grade project with MERN Stack and Caching, payment etc..also include deployment part with docker.
@justafreak15able Жыл бұрын
You don't need to explicitly use the .mjs extension for files within a package that has "type": "module" in its package.json.
@generate-your-ip Жыл бұрын
Hey Anson, Thank you for creating this course. This course help me a lot to learn expressJS.
@ansonthedev Жыл бұрын
You're welcome. Glad to hear :)
@rowlandoka5 ай бұрын
Nice and wonder express tutorial, great explanation. I love your vscode setup theme, would love if you can share your configurations.
@SavioGames24 ай бұрын
bro you are awesome, i'm from brazil and i'm learning a lot with you 😁
@MotionGraphicsTemplates3 ай бұрын
Could you share your VS Code settings? The color scheme and fonts look great! What fonts are you using, and how do you customize your setup? A quick video would be awesome if you're comfortable, but a text response works too. Love what you’re doing!
@emiruegwell959911 ай бұрын
thank you for this video, I love your teaching style, i have if there was a way to smash the like button a multitude of times i would smash it everyday. Thank you once again and i am looking forward to a video on Node js and React. As a mechanical engineer new to programming i will certaiinly change career after learning from you. Thank you once again
@victortimi294311 ай бұрын
Thanks for this beauty this will surely expand my knowledge on express
@ansonthedev11 ай бұрын
Glad to hear! :)
@tuanduy68265 ай бұрын
Wow. This is exactly what I needed. Thanks a lot
@huseynovvusal4 ай бұрын
What an awesome course is this! I am here to reinforce my knowledge. 🎉
@TravisPeters19959 ай бұрын
I believe Vitest supports ES Modules. You can avoid the Babel transpiling and using Jest's experimental features by using Vitest
@webdesignsbytom7 ай бұрын
this is good! im a node js dev and im taking notes here .... i hate the notes being in cursive
@burakcankurtarr27513 ай бұрын
Font style is a little different but the video is great! Thank you for the tutorial.
@harryls12345 Жыл бұрын
Thank you so much. This is exactly the course i needed right now.
@ansonthedev Жыл бұрын
You're welcome! :)
@chagantisubhash10 ай бұрын
Best content. Please add advanced concepts of express js and node js.
@uniq63189 ай бұрын
Your explanation is awesome buddy ❤
@mihirphadnis23 күн бұрын
So on 3:22:50 ( context: I am writing code, as you write), we are setting a 'visited' on "/" to make session persistant, then attaching another 'user' to the session on "/api/auth", although When I am printing session ID for GET - / , POST- /api/auth and GET - /api/auth/status, the session IDs are completely different resulting in throwing 401 on "/api/auth/status"... can you tell me where I am getting things wrong? Note: I am using Zed and HTTPie than VSCode with Thunder Client
@mihirphadnis23 күн бұрын
Okay nevermind, there was problem with HTTPie, not setting up session ID and not adding cookies on Request. Code works perfectly fine with fetch requests on browser console.
@crismosquera56565 ай бұрын
Hi from germany Very nice tutorial bro dont give up ❤
@saadchraibi6712 Жыл бұрын
Amazing content! Thanks for the clear explanations and top notch tutorial
@ansonthedev Жыл бұрын
Thank you!
@mandarkulkarni844311 ай бұрын
Thanks for making the video, it did help a lot to kick start API development using JS technologies. A quick question, How can you modularise the development of API endpoints with express.js ? In the video for example, all of the endpoints managing the USER resource are defined in a single file named 'index.mjs' (in practice might be better to rename is as 'users.mjs'). Let's say, I have 10 or 20 such REST resources to be managed in my application. (Say, USERS, ACCOUNTS, ORDERS, PRODUCTS, TRANSACTIONS, etc.) Each of these REST resources will need to support all HTTP verbs (GET, POST, PUT, DELETE, etc.) How do you go about maintaining the application code for all of these endpoints and how can you actually package them together in a deployable artifact (docker image, may be) and run it on one of the cloud environments ? Also, managing the development of middlewares shared across all of these API endpoints will be quite interesting to think about. Disclaimer : I have primarily developed REST API endpoints using Java-Spring Boot all along the years and exploring the JS world only recently.
@ansonthedev11 ай бұрын
I'm not sure how far you gotten into the video, but the part where I introduced routers at 2:20:00 is where I have different routes for different resources. You can see that I have users.mjs and products.mjs both in the routes folder. Both of which are its own individual router that get registered with the main Express app instance in the main index.mjs file. I of course chose not to do this so early in the video to not overwhelm the viewer. But generally, yes you do not want to include everything in one single file as it makes it difficult to maintain. Since you've used Spring Boot, I suggest once you get used to the Javascript realm of things, specifically developing apps with Express.js, I would highly recommend you learn Nest JS. It's architecture is very very similar to Spring Boot and has great ecosystem, has things like Dependency Injection, IoC, etc. In regards to Docker, you'd just use it to create an image of your app and can either deploy it to a host provider that manages Docker containers for you, or deploy it yourself to AWS or Digital Ocean's Droplet.
@CLeovison8 ай бұрын
Hi Anson, Can you create a tutorial on how to the a search function on express js?
@mamoudgad42103 ай бұрын
very simple very easy you are awesome man thank you for this tutorial
@Tony.Nguyen1379 ай бұрын
@2:11:00 why is it recommend to use the function matchedData? What advantage do I have? if the data is valid I can also access it in the body without using matchedData
@ansonthedev9 ай бұрын
matchedData collects all of the data from the request body, and sanitizes it. express-validator.github.io/docs/guides/getting-started#accessing-validated-data
@itsformac11 ай бұрын
if we use same spread operator in put same way as you did in patch, output would be same, then why do we need patch? 1:05:15 - put 1:15:10 - patch
@ansonthedev11 ай бұрын
So I am doing two different things in PUT and PATCH. For PUT, I am using the spreader operator inside an object to take all fields and values and assign it to mockUsers[findUserIndex], which is the original object at its specific index in the mockUsers array. This is me replacing the entire user in the Array with what I sent via PUT. For Patch, I am using the spreader operator on the original user object, so that way ALL existing fields and values are first placed in the new object, then whatever the request body is, I am using the spreader operator on that which will override any previous field-value pairs set. Hopefully this makes sense.
@whyfoo11 ай бұрын
Yo! you kinda sound like my brother!! 😂 Super helper clear tutorial btw, Id love to see full blown fullstack tutorial seeing the examples and tips!! thanks
@nihad1189 Жыл бұрын
I didn`t watch until the end , but I believe this course perfect like your nestjs course .
@ansonthedev Жыл бұрын
Thank you so much, that means a lot! :)
@xavierthomsen72388 ай бұрын
Finally, an express js course❤
@XennoviaCallidus10 ай бұрын
thanks a lot mr anson, your courses very usefull for me
@Bravin_Joshua4 ай бұрын
If in doubt. I assure you to trust Anson he is awsome
@MoshikoBenGan11 ай бұрын
Thank you Anson Awesome tutorial
@Ssmb-qj4df10 ай бұрын
Bro, You should have made a Node Js course (same in Depth) before express views would have been triple. BTW your teaching style is easy to grasp.