Our fullstack tutorial series covers everything you need to know — from git init to production
Become a master of backend development with our Node API tutorial
Learn to write truly secure applications with Deno
Learn how to get an Express.js application running in development using Nodemon and NPM
Learn how to use Mongoose to store and validate user data in MongoDB.
Learn how to configure and export middleware in NodeJS
Learn how to create an authentication system in NodeJS using JWT's and Passport.
We'll reuse the User model and create endpoints that only expose public user data.
In this chapter, we'll learn how to build REST routes that enable our frontend to perform full CRUD operations on articles.
We'll use Mongoose to associate articles with users who have favorited them.
Similar to CRUD operations for articles and the relational functionality behind favoriting, commenting will require a mix of both.
Similar to favoriting functionality, we'll modify our User model to store & manipulate the IDs of users we follow.