In this exercise, you must load the envConfig variable with the correct configuration data based on the environment, and properly configure the routers. Before beginning the exercise, Scott briefly walks through the application architecture.
(upbeat music)…- So if you would join me on step six.…Boom.…There's a lot of stuff going on here so I'm just going…to walk you through it before I set you loose…and explain to you what you're really going to do 'cause…there's a lot of stuff in here.…If you want to look at some of the stuff, I encourage you to…but a lot of stuff in here we won't be touching.…So notice that a lot of stuff has changed.…We had the server folder, but now inside the server folder…we have an API folder, a config folder,…a middleware folder, and a utility folder.…
A lot of stuff, so let's just walk through it.…The first thing I'm going to do is look at server.js,…or actually let's look at index.js and see what changed.…So index.js has got some stuff in here,…there's nothing you're going to do in here…but I've got a lot of comments on what's going on…and what's changed and why I'm doing certain stuff.…So really what's happening here is I'm just…requiring this config, we'll talk about config later.…We talked about this in the last step,…
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
Building a Slack Bot with Node.js Microserviceswith 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.