Node gives you a fast server with an event driven, non-blocking I/O model, Express.js provides a simple way to create web sites with common features like routing, APIs and http verbs.
Now, when you perform a task,…Node doesn't prevent other things from happening.…That's called non-blocking.…So, it's blazingly fast.…Now that makes input and output operations…like server requests super fast…because the event model doesn't block other things…from happening like with most traditional servers.…So, why should you use Express with NodeJS?…Now to make things faster, NodeJS is very small…and it doesn't do a lot by itself.…But it requires additional modules to make it really useful.…
ExpressJS is a very popular module…that adds web server functionality to NodeJS.…
In this course, Ray Villalobos walks through the process of creating full-featured websites with these technologies. First, find out how to install each package and leverage Node.js features from within Express. Then learn how to build a basic application with templating engines like EJS; create more flexible, modular code with includes and conditional statements; build APIs to manage HTTP requests to add and delete content dynamically; and configure more complex routing. Along the way, Ray implements features like customer feedback forms and real-time live chat, so you can see exactly what Node.js and Express are capable of.
- Handling HTTP requests with Node.js and Express
- Creating and modularizing routes
- Using templates
- Building flexible views
- Creating an API route
- Dealing with POST and DELETE requests
- Creating live chat features with Socket.IO