How to Set Up a Node.js Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 102

  • @jesf570
    @jesf570 5 หลายเดือนก่อน +5

    I think your way of explaining is everything. No one out there actually ELI5 for coding information but still cruising along and productive. Incredible! You've a gift of teaching.

  • @biagio_montelisciani
    @biagio_montelisciani ปีที่แล้ว +37

    I’m so grateful. Don’t know if it’s me but it seems like you need to be born knowing what all of this stuff is, now that it is being explained to me I finally see light 🤩

    • @master74200
      @master74200 ปีที่แล้ว +6

      You don't. You just spend a few weeks or months with various tools, and it'll rapidly be completely intuitive to you how everything would work. Learn some computer fundamentals, and your intuitive perspective will widen.

    • @anshswaroop6849
      @anshswaroop6849 ปีที่แล้ว

      @@master74200 bro few weeks !!! I know it's not rocket science but it's not that easy if .

  • @williambryant1672
    @williambryant1672 3 หลายเดือนก่อน +1

    honestly the best coding teacher I've ever come across, not exaggerating. I've been coding for 10 years.

    • @fredrik3685
      @fredrik3685 3 หลายเดือนก่อน

      🎯

  • @deadmusik9969
    @deadmusik9969 หลายเดือนก่อน

    @21:47, I just wanted to drop in and say I really enjoy your videos. The actual enthusiasm in your voice when you show these concepts! Just wanted to say Thanks!

  • @patricioisaiascv
    @patricioisaiascv ปีที่แล้ว +17

    Thanks for your amazing teaching, Daniel! I started creative coding in 2018 because of you. I'd love to enroll in ITP and meet you someday. Greetings from Chile! 😄

  • @isaacbaptista6207
    @isaacbaptista6207 ปีที่แล้ว +7

    Finaly a node.js tutorial where I actually learned something. Thank you.

  • @HeadmostCantaloupe
    @HeadmostCantaloupe ปีที่แล้ว +2

    These videos are great Dan! it's so refreshing to see videos from you that are not related to processing or p5.js

  • @Samuel-eg5wc
    @Samuel-eg5wc ปีที่แล้ว +6

    How do you have so much knowledge for all these code-based programs? Im a first year cs major and seeing you explain every single thing you do so clearly makes me feel so dumb😭. Thank you so much for your videos. I never knew watching someone else code would be so entertaining.

    • @lucbian
      @lucbian ปีที่แล้ว +1

      I'm a 3rd year CS major and I feel the same. The more we learn, the more we realise we know NOTHING!

    • @snakefinn
      @snakefinn ปีที่แล้ว

      As a senior CS student I must say, we are just getting started

    • @Trizzi2931
      @Trizzi2931 ปีที่แล้ว +1

      I am a masters student and i was feeling same when I was in third year. One thing i would suggest would be to use this knowledge and actually do something. Make projects it doesn’t have to be creative or anything like that just go ahead and make pne entire by yourself. Also form habit of reading docs after you have learned basic points. And last thing is try to learn linux I know it’s not directly related to nodejs but if you go into the job market, it’s one skill that everybody asks for. If you have macOS then no need to install anything else as it’s already an unix system but for windows I would recommend dual booting.

    • @master74200
      @master74200 ปีที่แล้ว

      The knowledge just comes from experience. Trying shit. Building things. Do that for a few months and it'll be very intuitive.

    • @TheCodingTrain
      @TheCodingTrain  ปีที่แล้ว +8

      You shouldn't feel this way! I've had 20+ years to practice, it takes time and you are doing great! Also, if you take a peek at any of my live stream archives you'll see that I mess up and get confused and don't understand most of the things I'm doing!

  • @mastermobo4554
    @mastermobo4554 ปีที่แล้ว +2

    Soooo hyped that you are covering Node.js! Would you ever consider covering TypeScript in the future? Would love to see that!

  • @AurelioKessler
    @AurelioKessler 9 หลายเดือนก่อน +1

    long time ago since i use nodejs and your video helped me to setup my project correctly. I don't remember a lot. 😂

  • @Didymox
    @Didymox 2 หลายเดือนก่อน

    I am a starter, and don’t know what to do, buh this really helped, on -y

  • @Anton-wc7lb
    @Anton-wc7lb หลายเดือนก่อน

    Your videos are such a great resource! This is of great help for my next project :)))))) Thank you!!

  • @__nicfit__
    @__nicfit__ 10 หลายเดือนก่อน

    `rm -rf node-project` is the best approach.

  • @geoffwagner4935
    @geoffwagner4935 ปีที่แล้ว

    my favorite visual studio them i've had for months is "Outerspace Next" - alien invasion , much softer on the eye and colors are like candy. OceanDeeper was close but, it's much more conveniently and nicely colored on the other. i liked the ocean colors, but the text colors usually aren't as amazing to me.

  • @andrewdunbar828
    @andrewdunbar828 ปีที่แล้ว

    Setupping them is easy on my set up. I setupped many of them.

  • @tylerbakeman
    @tylerbakeman ปีที่แล้ว

    I love working in P5.js - it’s easy to use.
    P3 was my favorite IDE for casual Java development - P4 was my least favorite (P3 had a more professional look and feel - and all of my code broke during the transition).
    So, now I use Eclipse for everything (until I land a job where they probably use VisualStudio or some random unheardof IDE)

  • @Manticore_007
    @Manticore_007 ปีที่แล้ว +1

    Thank you so much for teaching the basics! I couldn't find a decent video explaining what you need and what it does. Superb as always, and again; love the energy! I love watching you teach! ❤

  • @sajidhaniff01
    @sajidhaniff01 ปีที่แล้ว +1

    Daniel! Thank you for your wonderful tutorials! Your energy and enthusiasm are infective!!

  • @Yazan_Majdalawi
    @Yazan_Majdalawi ปีที่แล้ว

    I've been hesitating to learn Node.js but now I am 100% ready.

  • @k.6028
    @k.6028 11 หลายเดือนก่อน

    i would personally love to see you design a social media site with logins from scratch!

  • @bob_kazamakis
    @bob_kazamakis ปีที่แล้ว

    For anyone watching this to learn and get started with JS in any serious capacity in the future, do yourself a favor and use typescript. It makes your life a thousand times easier and your coworkers one day will thank you.

    • @supercrafter100
      @supercrafter100 ปีที่แล้ว +2

      Everyone’s gotta start somewhere. I personally learned to code with js and later learned ts!

  • @robw3000
    @robw3000 ปีที่แล้ว

    After 20 years .NET I had to move over to node.js. Your video's helped a lot! Great teacher!

  • @ihsannuruliman4005
    @ihsannuruliman4005 ปีที่แล้ว +1

    Dan will you make a series about machine learning (and data science in general) from scratch?
    Because the playlist about ML is basically about ML engineering. I thank you for that, but I want to see more. From the math and how to contruct the algorithm.

    • @delekmiller2362
      @delekmiller2362 ปีที่แล้ว

      He made a neural networks series. It's great.

  • @魔法師-m7n
    @魔法師-m7n ปีที่แล้ว +1

    非常棒

  • @Merabbit
    @Merabbit ปีที่แล้ว

    Watching this makes me so happy I started with Python. What an over complicated language. Still very interesting.

    • @master74200
      @master74200 ปีที่แล้ว

      Python is also very complicated, but in different ways. And in the same ways too. Dynamically typed languages are very complicated though, I do agree.

    • @letsgocamping88
      @letsgocamping88 11 หลายเดือนก่อน

      This is hardly different to python and pip? The only thing I'm seeing different is project structure?

  • @3zdayz
    @3zdayz ปีที่แล้ว

    Renaming to mjs let's you mix cja and mjs files. It also differentiates it's a node module. Typically it's improbable that is files for node would also work in a browser

  • @santicanog_
    @santicanog_ ปีที่แล้ว

    Another great introduction to get up and running with The Conding 🚂. Mastery of teaching 💡💖

  • @cholo2605
    @cholo2605 ปีที่แล้ว

    Wow, this was an amazing tutorial, i finally understand a lot of thing about node, thanks so much, Greetings from Rome!!!

  • @ColinTimmins
    @ColinTimmins ปีที่แล้ว

    Thanks for all the videos. A discord bot sounds like a good project to learn from. =]

  • @ghazalehabadian6536
    @ghazalehabadian6536 ปีที่แล้ว

    Great teacher

  • @anon_y_mousse
    @anon_y_mousse ปีที่แล้ว

    I decided to follow along with this one because I've never used npm or node for anything I've written. I have no idea if I installed node or if I'm using the one that came with Slackware, but apparently I'm on v20.0.0. One weird thing, I don't know if it's a bug in my version, but cowsay ignores the cow field. I tried importing SQUIRREL and it says it's not found. All the solutions suggested by node when it displayed the various error messages don't work, and I even tried just using "squirrel" and it gave no error and just used the standard cow.
    I figured I'd also make some suggestions of my own while I'm at it. Consider adding to your ~/.bashrc: mkcd() { if [ $# -ne 0 ]; then mkdir "$1"; cd "$1"; fi; } and alias ..='cd ..' alias ...='cd ../..' etc. And for a neat trick, cd - will take you to the immediately previous directory you were in, cd on its own will take you home.

  • @m1shka0nline
    @m1shka0nline ปีที่แล้ว

    Oh man we really could've used this 2 weeks ago for our IMA lowres Connections Lab projects but I guess hindsight 20/20

    • @TheCodingTrain
      @TheCodingTrain  ปีที่แล้ว

      Oh! Hello IMA Low Res! I hope these videos help!

    • @m1shka0nline
      @m1shka0nline ปีที่แล้ว

      Honestly I think watching these should be part of our homework! They're that good :)@@TheCodingTrain

  • @lucasferrero123
    @lucasferrero123 ปีที่แล้ว

    We missed you

  • @deltaforce3329
    @deltaforce3329 ปีที่แล้ว

    Thank you !! i am the 3000 visitor !!

  • @blatopebas
    @blatopebas ปีที่แล้ว +2

    Thank you ❤

  • @dipendranath6429
    @dipendranath6429 ปีที่แล้ว

    I love the way you explain things ❤❤

  • @volodymyrselevertov
    @volodymyrselevertov ปีที่แล้ว

    Your are amazing man

  • @lomzart
    @lomzart ปีที่แล้ว +1

    Hey hey, first thanks for all really you are the best! Please make a twitter bot that can post a canvas image as a post. Thanks❤‍🔥

  • @hillolbarman
    @hillolbarman ปีที่แล้ว

    I would really like to know if there is way to use p5 in node/react project. Where all the position calculations and maths of the animation is done separately and draw functions independently renders the updated values at a constant framerate. An example would be great too.

    • @lucbian
      @lucbian ปีที่แล้ว

      Yes there is. There's a good amount of info online on how to do it.

    • @hillolbarman
      @hillolbarman ปีที่แล้ว

      @@lucbian Could you please share a repo or blog? Thanks.

    • @DipamSen
      @DipamSen ปีที่แล้ว

      Do you mean using it in node (on the server, eg. For generating images), or using it with a client sida framework like react (same function as p5.js in the browser, just in the context of a framework)

    • @hillolbarman
      @hillolbarman ปีที่แล้ว

      @@DipamSen Both

  • @prasitsingh6713
    @prasitsingh6713 11 หลายเดือนก่อน

    After running these 2 commands I still cant get node_modules folder
    npm init -y npm install
    Why is it like that? I’m stuck here for 3 weeks. Please help
    But when i download someone else project and run the same commands it creates node_modules folder

  • @geoffwagner4935
    @geoffwagner4935 ปีที่แล้ว

    I was wanting a small collection or drones, i think i want a small collection of Raspberry pi after all the Dan's node and express stuff xD

  • @sanveersingh3513
    @sanveersingh3513 ปีที่แล้ว

    I'm learning JS, but a lot of projects rely on third party libraries, If I install then vulnerability list going up, if I do audit fix then project dont run any advise

    • @supercrafter100
      @supercrafter100 ปีที่แล้ว +1

      The vulnerabilities ideally should be fixed by the authors of libraries you're using. There isn't really much you can do yourself. Either use different libraries or just live with the fact that they're there. Often these vulnerabilities aren't really that severe but it's obviously ideal if there are none.

    • @master74200
      @master74200 ปีที่แล้ว

      Try to do what you need to without a library. It's not easy, but you can do it. Keep doing that, and you'll see that most packages aren't needed at all.

  • @loic.bertrand
    @loic.bertrand ปีที่แล้ว +4

    3:47 Is this a joke from the npm team or is this real ? 😆

    • @TheCodingTrain
      @TheCodingTrain  ปีที่แล้ว +5

      It's from the official NPM twitter!

    • @PhilBoswell
      @PhilBoswell ปีที่แล้ว +3

      Why not both?

  • @kebro135246
    @kebro135246 ปีที่แล้ว

    Are you gonna make a video about the correct way to make an MVC NodeJS server? 🙏🤩

    • @TheCodingTrain
      @TheCodingTrain  ปีที่แล้ว +1

      I don't write a lot of "correct" code 😂 Are these videos what you are looking for? thecodingtrain.com/tracks/data-and-apis-in-javascript/data/2-data-selfie-app/1-server-side-with-node-js

  • @faBi_292
    @faBi_292 ปีที่แล้ว

    Need moreeeee :)

  • @wrt3778
    @wrt3778 9 หลายเดือนก่อน

    Sir, you are the best, thank you.

  • @TheSteveMorganShow
    @TheSteveMorganShow ปีที่แล้ว

    Not sure why it keeps telling me type error cowsay.say is not a function when trying to run it.

    • @TheCodingTrain
      @TheCodingTrain  ปีที่แล้ว

      hmmmm, are you in the discord to maybe post your code / error screenshots?

    • @TheSteveMorganShow
      @TheSteveMorganShow ปีที่แล้ว

      Gonna try on my Windows machine as the other was on my mac@@TheCodingTrain

    • @TheSteveMorganShow
      @TheSteveMorganShow ปีที่แล้ว

      panic over i updated Node and re npm cowsay and all working now on mac after testing went all ok on PC@@TheCodingTrain

  • @pannasstuff1466
    @pannasstuff1466 10 หลายเดือนก่อน

    lol @detective work🤣

  • @CuttDaMuzik
    @CuttDaMuzik 11 หลายเดือนก่อน

    I just wanna know when you launching a project

  • @juanmacias5922
    @juanmacias5922 ปีที่แล้ว

    Bun with TS, when? :D

  • @vikingthedude
    @vikingthedude ปีที่แล้ว +2

    Thank you for refusing to name files with .mjs

  • @geoffwagner4935
    @geoffwagner4935 ปีที่แล้ว

    i made a third database with username, password, and a messenger page yesterday that put the user in the message on my node express yesterday

  • @geoffwagner4935
    @geoffwagner4935 ปีที่แล้ว

    *ring a ling a ling*

  • @AndyNotSoSmart
    @AndyNotSoSmart 10 หลายเดือนก่อน

    🚅

  • @geoffwagner4935
    @geoffwagner4935 ปีที่แล้ว

    utter non sense

  • @briumphbimbles
    @briumphbimbles ปีที่แล้ว

    If this video isn't 3 seconds long (i.e. calling npm init) then sorry but what are you even doing?

    • @MahBor
      @MahBor ปีที่แล้ว +7

      He's teaching millions of beginners around the world collage level programming completely free.

    • @briumphbimbles
      @briumphbimbles ปีที่แล้ว

      @@MahBor This is college level programming?
      Jesus christ!

    • @thebagofsalt
      @thebagofsalt ปีที่แล้ว +4

      many of his videos are more advanced. if you already know this stuff then why are you here? to mock those less knowledgeable than you?

    • @briumphbimbles
      @briumphbimbles ปีที่แล้ว

      @@thebagofsalt I know what his videos are like. They are interesting. Supporting the idea that someone should not find this basic information out for themselves is not helpful, aside from being borderline infantilising it is this level of handholding that has lead to the endemic level of general incompetence in this field.

    • @MahBor
      @MahBor ปีที่แล้ว +1

      @@briumphbimbles Yes.

  • @rizgamingvids
    @rizgamingvids ปีที่แล้ว

    Hey, I am back with you. I have been waiting for your contents, Sir.