12.2: Using Express with Node – WebSockets and p5.js Tutorial

[ad_1]
In this video, I look at how to add express.js to your node application to serve static files.

Source code:

Contact:

Next video:

Node:
Socket.io:
Express:
p5.js:

Learn JavaScript basics:

More about data and APIs:

Help us caption & translate this video!


Posted

in

by

Tags:

Comments

20 responses to “12.2: Using Express with Node – WebSockets and p5.js Tutorial”

  1. swishy _ fishy Avatar

    but how do i make it so that my server is live on the internet

  2. Daniel Avatar

    I listen on port 3000,
    Not much has changed but they live underwater,
    And your great, great, great grand daughter is doing fineeeee

  3. firefly devlopment Avatar

    i need help. can you please provide me a guidance. i made an gps traker module but i have some confusion and doubts
    Our GPS Tracking device send data to server through HTTP Protocols in stream.

    after connection establishments, send 19-charterer ASCII string Device ID using HTTP POST request.

    for example: "#863586032468872*#nr"

    after that
    38-charterer ASCII string send every 2 or 3 seconds using HTTP POST request.

    for example: "#22.73688886,#75.88336181,#000,#98*#nr"
    (latitude, longitude, speed, battery status)

    i have search all the way but didn't get perfect solution

  4. Satish Chopra Avatar

    your videos are the best

  5. darkfafi Avatar

    Can I find an example of those '11 or 12 lines of code' which Express replaces? I would love to dig deeper into how it works. Thank you.

  6. Eroid Avatar

    ;_; so happy this works, tech almost always fails me.

  7. jay ordanisa Avatar

    hi can you teach us how to make a sub domain in node express or cors? i cant understand how these stuffs works.

  8. Martin Ransome Avatar

    can I get you to come to Trinidad to deliver training. What is your fee?

  9. Izzaki Avatar

    bla bla bla magic magic xD

  10. YERRAMILLI ROHITH Avatar

    man … how can u be so awesome ..

  11. Valentin Schmidt Avatar

    how do i create the index and the libraries?

  12. Sam Avatar

    For anyone not using P5.js
    At 10:40 my javascript file doesnt directly run like his does,
    i have to go localhost:3000/myJsFile.js but yea – it serves it

  13. Fulgentius Willy Avatar

    Do I need to do all of these steps for every sketch that I made?

  14. SogMosee Avatar

    I only watch you in 2x speed. It is the only persona I know you as.

  15. praveen yadav Avatar

    Too much gesture , smh!

  16. Irina Koti Avatar

    learned a lot, laughed a lot! thank you!

  17. Sỹ An Nguyễn Avatar

    what will i do next with localhost when i want to upload this folder ?

  18. Ela Kowalska Avatar

    I have a problem with finding 'express', while using cmd on Windows. I have used all the instructions from http://expressjs.com/en/starter/installing.html and I have already installed node.js (it works). In server.js file there is a problem with uploading 'express' too.
    Do you know, why I sth like that happens?

  19. Peter Kwan Avatar

    I tried this on Windows and on Mac and both said port 3000 was already in use. Moving to port 3010 got me around this.

Leave a Reply

Your email address will not be published. Required fields are marked *