<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nadav</title>
    <description>The latest articles on DEV Community by Nadav (@rynrn).</description>
    <link>https://dev.to/rynrn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F272535%2F06b805c2-db0e-45c9-8bdf-2ab5b80392bd.jpeg</url>
      <title>DEV Community: Nadav</title>
      <link>https://dev.to/rynrn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rynrn"/>
    <language>en</language>
    <item>
      <title>How to build a social network with mongoDB?</title>
      <dc:creator>Nadav</dc:creator>
      <pubDate>Fri, 15 Nov 2019 13:46:47 +0000</pubDate>
      <link>https://dev.to/rynrn/how-to-build-a-social-network-with-mongodb-42b</link>
      <guid>https://dev.to/rynrn/how-to-build-a-social-network-with-mongodb-42b</guid>
      <description>&lt;p&gt;I'm wanted to start developing a social network like instagram (more or less).&lt;br&gt;
but I have tried to understand how to design my DB (using mongodb) for the main queries.&lt;/p&gt;

&lt;p&gt;So I have few questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;how to save the data of followers/following in the db? it should be in the same document of the users or other?&lt;/li&gt;
&lt;li&gt;how to fetch all the posts for users from his followers?&lt;/li&gt;
&lt;li&gt;can I use mongodb for building a social network like instagram?&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>mongodb</category>
      <category>node</category>
      <category>database</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
