- JavaScript
- Advanced
About this Course
Learn how to implement a custom user authentication system that controls users access to web resources using Node.js using Express and MongoDB. The system lets users sign up, log in, and log out, limiting access to password-protected resources. Express is a popular web framework for creating MVC applications and RESTful APIs in Node.js. Express lets developers define routes and middleware for submitting and retrieving data in our database. We will leverage the document based NoSQL database, MongoDB, to store our user data by creating a user model with mongoose. Mongoose is an open source Node package for defining data models for an application and connecting to MongoDB.
What you'll learn
- What is Authentication?
- User Registration
- Pug (formerly Jade) templating engine
- Sessions
- Cookies
- Express Middleware
Teachers
-
Dave McFarland
Dave is a web developer, O'Reilly author, and Treehouse teacher.
-
Jonathan Foster
Jonathan is a software engineer living in Rochester, NY. Jonathan loves learning new and fun ways to write software. You can find him on most websites with the username, fostertheweb.