An open API service indexing awesome lists of open source software.

https://github.com/itsdevcoffee/reddit-api-clone-2

Build a Reddit API clone. We cover models and build out the rest of our routes!
https://github.com/itsdevcoffee/reddit-api-clone-2

express mongodb mongoose nodejs

Last synced: 7 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://youtu.be/gtMZ-WiSrs8).

## Prerequisites
1. Please follow the steps in part 1 in order to get started. [Build a Reddit API Clone - Part 1](https://github.com/DmsChrisPena/reddit-clone-api)

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](http://mongoosejs.com/) 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.