- 43
- 231 215
Hey Node
United States
เข้าร่วมเมื่อ 18 เม.ย. 2019
Welcome to Hey Node, where we help you solve hard problems fast in Node.js.
When it comes to processing large amounts of data, Node.js is a superstar. Check out our Data Brokering with Node.js playlist, which includes all the free tutorials from our larger course, available at heynode.com.
We're an Osio Labs channel - we’re Open Source Inside and Out and we’re deeply committed to fostering and growing communities through open source contribution. For over 10 years, we've been publishing tutorials, conducting workshops, supporting events, contributing code and documentation, and working in a variety of open source community leadership roles. Our site Drupalize.Me is the leading provider of Drupal training services.
When it comes to processing large amounts of data, Node.js is a superstar. Check out our Data Brokering with Node.js playlist, which includes all the free tutorials from our larger course, available at heynode.com.
We're an Osio Labs channel - we’re Open Source Inside and Out and we’re deeply committed to fostering and growing communities through open source contribution. For over 10 years, we've been publishing tutorials, conducting workshops, supporting events, contributing code and documentation, and working in a variety of open source community leadership roles. Our site Drupalize.Me is the leading provider of Drupal training services.
Jon Peck, How do you learn Node?
This is a short Zoom chat with Node expert Jon Peck, where Addi and Blake ask him how he got started with Node, how he learned, and keeps learning.
Jon worked with us on technical review for the tutorials in the Hey Node Data Brokering with Node.js course. You can find out more at heynode.com.
Jon worked with us on technical review for the tutorials in the Hey Node Data Brokering with Node.js course. You can find out more at heynode.com.
มุมมอง: 413
วีดีโอ
Anna Mykhailova, How do you learn Node?
มุมมอง 4163 ปีที่แล้ว
This is a short Zoom chat with Node (and Drupal) expert Anna Mykhailova, where Addi and Blake ask her how she got started with Node, how she learned, and keeps learning. Anna is also one of the people who has provided tutorials for the Hey Node Data Brokering with Node.js course. You can find out more at heynode.com.
Use Express to Create an API Proxy Server in Node.js
มุมมอง 3.1K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/use-express-create-api-proxy-server-nodejs? &YT description& The Node.js framework Express allows us to create web servers and APIs with minimal setup. We will be using Express in a Node.js application to create an API Proxy to request data from another API and return it to a consumer...
Express Middleware in Node.js
มุมมอง 8473 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/express-middleware-nodejs? &YT description& Express middleware is code written that executes during a request/response cycle in Node.js. It's commonly used to add functionality, or to provide features to Express like user authentication or caching to your application. Express itself i...
What Is an API Proxy?
มุมมอง 14K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/what-api-proxy? &YT description& Understand what an API proxy is and how it can help you customize the way an application consumes your backend services by decoupling the frontend from implementation details of the backend. Also, learn reasons to use an API proxy including the ability...
How to Set up an Express.js Server in Node.js
มุมมอง 13K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/how-set-expressjs-server-nodejs? &YT description& In this tutorial, you’ll learn how to start a basic HTTP server in Node.js with a few lines of code. Express allows us to get to "Hello World" with a server quickly. We'll create a basic server with a single route, create a middleware ...
What Is the Express Node.js Framework?
มุมมอง 1K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/what-express-nodejs-framework? &YT description&.js-framework In this tutorial we'll learn about Express, the free and open-source Node.js web application framework. Built on top of the Node.js built-in http module, Express helps us set up routing and handle the request/response cycle....
Set up and Test a Dot Env (.env) File in Node
มุมมอง 1.2K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: hheynode.com/tutorial/set-and-test-dot-env-env-file? &YT description& Using the dotenv package, we can add a .env file to our Node.js project to serve as a central place to manage and document environment variables. This makes them easier to update, maintain, and perhaps most importantly, to discover. Env...
How to Use Environment Variables in Node.js
มุมมอง 7623 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/overview-environmental-variables? &YT description& With Node’s environment variables, we can configure our applications outside of our codebase. Environment variables provide information about the environment in which the process is running. We use Node environment variables to handle...
Use Streams to Extract, Transform, and Load CSV Data
มุมมอง 2.2K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/use-streams-extract-transform-and-load-csv-data? &YT description& Using the fs module and streams, we can take a local file and perform ETL steps on it to transform the file into JSON and write it to disk. We can use a helpful node module from npm, csvtojson, to convert the csv data f...
What Is a Node.js Stream?
มุมมอง 2.1K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/what-stream? &YT description& Streams are a built-in Node.js language feature that represent an asynchronous flow of data, and are a way to handle reading/writing files. They’re meant to be like Unix pipes, allowing us to hook up a data source one end, any number of consumers on the o...
What Is the Node.js fs (File System) Module?
มุมมอง 6833 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/what-fs-file-system-module? &YT description& The built-in Node.js file system module helps us store, access, and manage data on our operating system. Commonly used features of the fs module include fs.readFile to read data from a file, fs.writeFile to write data to a file and replace ...
How to Make API Requests with Request-Promise in Node.js
มุมมอง 4.3K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/how-make-api-requests-request-promise-nodejs? &YT description& One task you’ll encounter often in Node.js is making HTTP requests to an external API from a server. Request-promise, a Promise-based wrapper for the popular request library, helps us do just that. This in-depth reference ...
Use JavaScript's Async/Await with Promises
มุมมอง 4543 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/use-asyncawait-promises? &YT description& If promises are like a yield sign, JavaScript’s await function modifier is a stop sign. To write asynchronous code in Node.js in a way that reads like synchronous code, we can use the async/await JavaScript keywords. Sometimes you want a logic...
Use Promise.all to Wait for Multiple Promises in Node.js
มุมมอง 1.4K3 ปีที่แล้ว
See the written version of this tutorial for links to prerequisites and related tutorials: heynode.com/tutorial/wait-multiple-promises? &YT description& Sometimes in Node, we need to execute multiple asynchronous operations concurrently, wait for them all to complete, and then do something with the combined result. An example of this would be to wait for multiple API calls to finish before gath...
Restart a Node.js Application upon Changing a File
มุมมอง 4583 ปีที่แล้ว
Restart a Node.js Application upon Changing a File
How to Update a Node Dependency with NPM
มุมมอง 3313 ปีที่แล้ว
How to Update a Node Dependency with NPM
How to Uninstall NPM Packages from a Node.js Project
มุมมอง 6K3 ปีที่แล้ว
How to Uninstall NPM Packages from a Node.js Project
ETL: Load Data to Destination with Node.js
มุมมอง 9723 ปีที่แล้ว
ETL: Load Data to Destination with Node.js
Organize Your Node.js Code into Modules
มุมมอง 1.2K3 ปีที่แล้ว
Organize Your Node.js Code into Modules
How to Add a Route to an Express Server in Node.js
มุมมอง 8593 ปีที่แล้ว
How to Add a Route to an Express Server in Node.js
Worked in a team that use apigee proxy to expose same endpoint to our customers and control who has access to it as so to trace it amount of request per customer. Great summary if you have more detailed info about the topic I'd be great to know it.
감사합니당
Just what I needed to get going - thank you for making this video!
great explanation, thank you.
Thank you for this great video.
Perfect! ❤ thx
An excellent tutorial. And it's exactly what I was looking for as I am about to embark on writing a simple editor for a very specific json file. I will be the sole user and the file is not terribly large, so I am not concerned about multiple users editing the file at the same time. And it's great that you have a written version of this for reference. Thank you!
Your voice is sooo soothing
but vs code white theme is killing me
Crystal clear, ty
Very Good, thank you. :)
Absolutely great and informative video!
request-promise has been deprecated
Splendid stuff.
Great and just great
je peut avoir sa en Français
Whoever you are, sir, you're a good teacher, and you should probably consider starting your own TH-cam channel -- it would probably be a success.
Very good tutorial, consice and easy to understand! Thank you so much! 💛
very short and helpful i wanted to like 2 time but i recognized i already liked the video :) have great codes :D
i understood nothing :( tried my best tho
bro why you stopped making videos
How to deleted when we use 'rm -r node_modules' using GitBash on windows ?
Thank you for the tutorial, it's very informative ))) Please consider using your IDE with a dark theme when making your videos, it's hard to watch this at night 😅
tip, use dark mode
Yeah lol
This was really nice and concise
nicely done but why so small amount of watchings? That implementation of cache middleware is magnificent because i would do that with 2 such middlewares 1 in the beggining and second in the end!
Excellent series, please keep going!
Very nice. Please make us learn the same thing in Typescript as well 🙏
really helpfull !! thanks dude
i am having problem in reading and writing it is saying file not exists only way i was able to read it using require() can any one help me
how to do this in typescript?
import NodeCache from "node-cache"; import {NextFunction, Response, Send} from "express"; const cache = new NodeCache(); module.exports = (duration: number) => (req: Request, res: Response, next: NextFunction) => { if (req.method !== "GET"){ console.log('Cannot cache non-GET methods') return next() } const key = req.url; const cachedRes = cache.get(key) if (cachedRes) { res.json(cachedRes); } else { let originalJson = res.json.bind(res) res.json = (body: any): Response<any, Record<string, any>> => { originalJson(body); cache.set(key, body, duration); return res }; next(); } }
Can you please share the code? Thanks
You can find the code on our website in the full written tutorial at heynode.com/tutorial/add-response-caching-nodejs-express-server/
These short lectures on node/nom are super awesome!! Why so many less views for this series. Seems not many PPL know about this.
Yeah these are really one of the best videos to understand node system
is fetch() not a good move to use to get data from json file?
I think you would want to use fetch() if the .json file was served over HTTP and you had to request it from another server. And fs.readFile for files on the same filesystem.
Can you upload full HD videos in 1080p?
Nice tutorial! Thanks for your help
Thank you for this tuto
tout ça c'est beau mais comment on fait pour utiliser les données dans un vrai programme javascript?
Great tutorial! Just a small note: If you want to send the response as a formatted JSON, instead of text, you can use res.json instead of res.send: if (cachedResponse) { res.json(cachedResponse); } else { res.originalJson = res.json res.json = body => { res.originalJson(body); cache.set(key, body, duration); }; next(); }
Very informative!
Great content but the light theme is destroying my eyes
my eyes
Very clearly explained! :)
This error - ReferenceError: JSONReader is not defined at Object.<anonymous> - on Update code. :(
The function jsonReader() was defined earlier in the video at th-cam.com/video/HrjC6RwEpt0/w-d-xo.html, you'll need to make sure that function exists before writing the update code. Hope that helps.
thank you.
Can this NODE be used like js, without libraries buddy?
Thank you!
Seriously this video very simple and easy explanation about package.json ( please continue your video) I am from India
I keep getting an error. Javascript is possible the worst programming language.
Thank you, nice short but very useful tutorial, wish you good luck :)