From the course: Developing for Microsoft Teams
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Node.js and friends - Microsoft Teams Tutorial
From the course: Developing for Microsoft Teams
Node.js and friends
- [Instructor] Node.js is really just an implementation of the JavaScript engine from Chrome. It's the V8 engine running on my machine rather than inside a browser, so if I now type node at the command line, I'll get a prompt and I can interactively start typing some JavaScript. I can start doing arithmetic expressions, call functions. What I can't do is get at the window object, which I might do in the browser context but there is no window because it's just JavaScript. So Node.js gives us a platform where we can implement a web server in much the same way that we'd use IIS Express for example, if we were doing ASP.NET developments in Visual Studio. I can even build a little web server interactively using this very simple web server called HTTP, and I need to create server, and then listen on port 3000, say, and inside here it takes an anonymous function, so I'm going to use a lambda expression. There's a request…