<?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: Kelden Lin</title>
    <description>The latest articles on DEV Community by Kelden Lin (@keldenl).</description>
    <link>https://dev.to/keldenl</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%2F917111%2F3dccbab2-8421-42f5-a3e5-730fdd5639f3.jpeg</url>
      <title>DEV Community: Kelden Lin</title>
      <link>https://dev.to/keldenl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/keldenl"/>
    <language>en</language>
    <item>
      <title>Picar - Photo sharing with friends reimagined</title>
      <dc:creator>Kelden Lin</dc:creator>
      <pubDate>Mon, 29 Aug 2022 08:06:00 +0000</pubDate>
      <link>https://dev.to/keldenl/picar-photo-sharing-with-friends-reimagined-redis-hackathon-submission-ddf</link>
      <guid>https://dev.to/keldenl/picar-photo-sharing-with-friends-reimagined-redis-hackathon-submission-ddf</guid>
      <description>&lt;h3&gt;
  
  
  Overview of My Submission
&lt;/h3&gt;

&lt;p&gt;Photo sharing social media with friends reimagined, combining privacy and flexibility. See photos from friends, &lt;strong&gt;not from advertisers or influencers.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the modern world, everything has a "story" feature, are filled with influencers, "suggested posts", advertising...&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Things needed to be simpler. Things needed to be private. Things needed to go back to the way they were. That's why Picar was built!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Only see posts from friends, and in chronological order. Only share photos to friends, not publicly or to "followers".&lt;/p&gt;

&lt;p&gt;We used React.js for frontend, and Node.js/Express/RedisStack for the backend. More specifically, we utilized RedisJSON to store everything and RediSearch to query for it.&lt;/p&gt;

&lt;p&gt;A lot of more detail into how this was built,  architecture, and Redis usage can be found in the &lt;a href="https://github.com/keldenl/picar-server"&gt;Backend Github Repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also, the frontend web app can be found in the &lt;a href="https://github.com/keldenl/picar"&gt;Frontend Github Repo&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;MEAN/MERN Mavericks&lt;/strong&gt; - Used Redis as the primary database!&lt;/p&gt;

&lt;h3&gt;
  
  
  Video Explainer of My Project
&lt;/h3&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/NDIMNVkGzno"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  Language Used
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Backend&lt;/strong&gt;: Node.js/Express/Redis-OM&lt;br&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: React&lt;/p&gt;
&lt;h3&gt;
  
  
  Link to Code
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Backend&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--566lAguM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/keldenl"&gt;
        keldenl
      &lt;/a&gt; / &lt;a href="https://github.com/keldenl/picar-server"&gt;
        picar-server
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="MD"&gt;
&lt;h1&gt;
Picar&lt;/h1&gt;
&lt;p&gt;Photo sharing social media with friends reimagined, combining privacy and flexibility. See photos from friends, not from advertisers or influencers.&lt;/p&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/keldenl/picar-server./docs/ariana-profile.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pExdM1Jb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/keldenl/picar-server./docs/ariana-profile.png" alt="ariana profile page example"&gt;&lt;/a&gt;
&lt;em&gt;Example Ariana Grande profile page&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTE: FRONT END CODE LIVES &lt;a href="https://github.com/keldenl/picar"&gt;HERE&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h1&gt;
Overview video (Optional)&lt;/h1&gt;
&lt;p&gt;Here's a short video that explains the project and how it uses Redis:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=NDIMNVkGzno" rel="nofollow"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pExdM1Jb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/keldenl/picar-server./docs/ariana-profile.png" alt="YouTube video"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
How it works&lt;/h2&gt;
&lt;h3&gt;
How the data is stored:&lt;/h3&gt;
&lt;p&gt;There are several different schemas of entites that we store. They are all available in more detail at &lt;code&gt;/schema/&amp;lt;ENTITY_HERE&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: The app only supports logging in with Google.&lt;/em&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;User&lt;/code&gt;: Main user entity
&lt;ul&gt;
&lt;li&gt;Fields
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;sub (string)&lt;/code&gt;: The unique idenfier for each user Google gives&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;email (string)&lt;/code&gt;: Email of the user. Also provided by Google.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;username (string)&lt;/code&gt;: Username that represents the user. This is by default first name + last name's initial (provided by Google). This can be changed afterwards.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;friendIds (string[])&lt;/code&gt;: String array of friends (by userId) that this…&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/keldenl/picar-server"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Frontend&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--566lAguM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/keldenl"&gt;
        keldenl
      &lt;/a&gt; / &lt;a href="https://github.com/keldenl/picar"&gt;
        picar
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
Picar&lt;/h1&gt;
&lt;p&gt;Created by  &lt;a href="https://github.com/keldenl"&gt;@Keldenl&lt;/a&gt; and &lt;a href="https://github.com/Eliza-Huang"&gt;@Eliza-Huang&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Photo sharing social media where you share your best moments to your closest friends.&lt;/p&gt;
&lt;h2&gt;
Available Scripts&lt;/h2&gt;
&lt;p&gt;In the project directory, you can run:&lt;/p&gt;
&lt;h3&gt;
&lt;code&gt;yarn start&lt;/code&gt;
&lt;/h3&gt;
&lt;p&gt;Runs the app in the development mode.&lt;br&gt;
Open &lt;a href="http://localhost:3000" rel="nofollow"&gt;http://localhost:3000&lt;/a&gt; to view it in your browser.&lt;/p&gt;
&lt;p&gt;The page will reload when you make changes.&lt;br&gt;
You may also see any lint errors in the console.&lt;/p&gt;
&lt;h3&gt;
&lt;code&gt;yarn test&lt;/code&gt;
&lt;/h3&gt;
&lt;p&gt;Launches the test runner in the interactive watch mode.&lt;br&gt;
See the section about &lt;a href="https://facebook.github.io/create-react-app/docs/running-tests" rel="nofollow"&gt;running tests&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h3&gt;
&lt;code&gt;yarn deploy&lt;/code&gt;
&lt;/h3&gt;
&lt;p&gt;Deploys the current app build to production.&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/keldenl/picar"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;Demo with @arianagrande profile&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DiFgrcXC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3rl5yc9h16zzaw2hjuj6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DiFgrcXC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3rl5yc9h16zzaw2hjuj6.png" alt="demo ariana grande profile" width="880" height="504"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Collaborators
&lt;/h3&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/elizahuang"&gt;@elizahuang&lt;/a&gt; - FE collaboration&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Check out &lt;a href="https://redis.io/docs/stack/get-started/clients/#high-level-client-libraries"&gt;Redis OM&lt;/a&gt;, client libraries for working with Redis as a multi-model database.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Use &lt;a href="https://redis.info/redisinsight"&gt;RedisInsight&lt;/a&gt; to visualize your data in Redis.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Sign up for a &lt;a href="https://redis.info/try-free-dev-to"&gt;free Redis database&lt;/a&gt;.&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>redishackathon</category>
    </item>
  </channel>
</rss>
