reddit-api-clone-2 icon indicating copy to clipboard operation
reddit-api-clone-2 copied to clipboard

Build a Reddit API clone. We cover models and build out the rest of our routes!

Build a Reddit API Clone - (Part 2)

This repo is for a series called 'Build a Reddit API Clone' You can follow this YouTube series at Build a Reddit API Clone - Part 2.

Prerequisites

  1. Please follow the steps in part 1 in order to get started. Build a Reddit API Clone - Part 1

  2. Clone this repo, npm install, fire up MongoDB, and npm start

Description

Last video we got our basic project structure setup with routes, controllers, and models. In this video, we start with mentally mapping out our models. From there, we begin to build out the models / controllers and explore different features of Mongoose.js such as references between our models and middleware to populate the fields. If you like the series feel free to star this repo and share it with your friends! Be on the look out for parts 3 & 4.