Join Alexander Zanfir for an in-depth discussion in this video What is a framework for Node.js?, part of Learning Node.js.
- Let's take a look at some of the available frameworks…for Node.…But first, what is a framework?…It's sometimes interesting when we look…at a definition in its generic form.…For example, a framework…is an essential supporting structure…of a building, vehicle, or object.…And in software, it's essentially the same thing.…It is a supporting structure that allows you…to build on top of it.…When it comes to web,…and we want to build large APIs,…or maybe HTTP servers,…we can leverage web frameworks…and there are several options we can look at.…
Each of these provide us with the structure and components…you need to quickly make serving static files,…like traditional websites, easy.…Or we can put together a web API to interact in a web app.…A web API is a service that allows us to get and save data…to our server or back end,…such as a web API that allows us to maybe create users,…serve a list of users,…et cetera.…Now, let's take a look at the different options we have…for web frameworks for Node.…We'll be looking at Express,…
- Installing Node.js
- Writing modules and packages
- Reading and writing files
- Working with frameworks: Express, Sails, and Koa
- Generating promises
- Working with generator functions
Skill Level Beginner
Q: When I try to install Bluebird/Express/Gulp/Sails/KOA using the Node Package Manager, it seems to install correctly in the terminal. But why doesn't my project folder change?
A: You need to make sure that you've navigated to your project folder in the terminal. For example, in this course Alexander is working from the C:\Dev\ folder both in Brackets and in the terminal.