Scott talks about the component approach he uses when organizing application files. Within a component, models describe how the component’s resources will look. Controllers access these resources, and routes help define how the API will be exposed.
(funky music)…- Now we're going to talk about organization and config.…So this is where it's, we're actually going to start building…the API and doing stuff and it's going to get kind of crazy.…We're going to jump a couple steps…and we're going to talk about…how to really get that API going.…So organization and config.…Our API will consist of many different components…typo…to support the API, authentication, static serving, etc.…
When you hear me say the word API, I'm not just talking…like the REST endpoints.…This is actually really going to be like a web server…that has an API aspect of it.…So it will be like serving a site,…or actually maybe I won't.…Maybe I won't serve this site.…But it definitely will be doing authentication.…So it'll have authentication, authorization, identification,…and then the API.…But what actually makes up the API…portion of the server, right?…So, if we look at our code,…we kind of figure that out already.…
We know that in our server js, we have middleware,…we have these routes, we have these routers,…
This course was created by Frontend Masters. It was originally released on 12/30/2015. We're pleased to host this training in our library.
- Executing Node.js
- Using Express
- What is middleware?
- Testing in Node.js
- Using Mongo with Node.js
- Data modeling
- Querying data with Mongoose
- Identifying sensitive routes
- Configuring the deployment
Skill Level Intermediate
Node.js: Build Your First Microservicewith Daniel Khan2h 9m Intermediate
Building APIs Using Hapi in Node.jswith Kirsten Hunter2h 23m Intermediate
2. REST APIs
5. Organization and Configuration
7. Data Modeling
10. Securing Routes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.