In this exercise, you must design schemas for the category, post, and user models in the application.
- [Scott] There's a lot of fun stuff…going on in step eight.…So we got rid of the DB tester file…because that was just like a one-off file…that we were using to test a database.…And now if you go to step eight…and you look in the API folder on each resource,…there's a respective model file.…And we have to go ahead and design the schemas.…Everything else is set up for you…as far as like the exports.…All you have to do is just fill out the actual schemas.…The blueprint for these models.…
Alright, so any questions there?…That's all we have to do.…So as far as like what they look like,…again the blueprint's in the JSON right here.…So you can infer what types they are.…As far as how to use the types,…here's an example here of how to use the different types.…And that's what we got to do for those models.…
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
Node.js: Extend and Maintain Applicationswith Daniel Khan3h 35m 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.