<?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: prabhuomkar</title>
    <description>The latest articles on DEV Community by prabhuomkar (@prabhuomkar).</description>
    <link>https://dev.to/prabhuomkar</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%2F121907%2F39cec8de-0552-4822-b7a3-d8963c7cf537.png</url>
      <title>DEV Community: prabhuomkar</title>
      <link>https://dev.to/prabhuomkar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prabhuomkar"/>
    <language>en</language>
    <item>
      <title>Open Source GraphQL API for Online Show (Netflix, HBO, Hulu, Amazon Prime, etc.)</title>
      <dc:creator>prabhuomkar</dc:creator>
      <pubDate>Sat, 08 Jun 2019 13:00:55 +0000</pubDate>
      <link>https://dev.to/prabhuomkar/open-source-graphql-api-for-online-show-netflix-hbo-hulu-amazon-prime-etc-5bmk</link>
      <guid>https://dev.to/prabhuomkar/open-source-graphql-api-for-online-show-netflix-hbo-hulu-amazon-prime-etc-5bmk</guid>
      <description>&lt;p&gt;frisky is an open source project using GraphQL trying to serve information about TV shows and its episodes with all information like name, description, year, posters, creators, starring and the service providers where you are allowed to stream that show. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Current Service Providers:&lt;/strong&gt;&lt;br&gt;
Netflix, HBO, Amazon Prime, Hulu&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Links:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/prabhuomkar/frisky"&gt;https://github.com/prabhuomkar/frisky&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Docs:&lt;/strong&gt; &lt;a href="https://prabhuomkar.github.io/frisky"&gt;https://prabhuomkar.github.io/frisky&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Show some love by starring the repository or contribute with data/code by reading the API documentation :)&lt;/em&gt;&lt;/strong&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--vJ70wriM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/prabhuomkar"&gt;
        prabhuomkar
      &lt;/a&gt; / &lt;a href="https://github.com/prabhuomkar/frisky"&gt;
        frisky
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🍿 Open Source GraphQL API for Online Shows
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
&lt;a rel="noopener noreferrer" href="https://camo.githubusercontent.com/6eb938983459583060ceadf19ffa5ff0dee24c33/68747470733a2f2f7072616268756f6d6b61722e6769746875622e696f2f667269736b792f6173736574732f66617669636f6e732f616e64726f69642d69636f6e2d34387834382e706e67"&gt;&lt;img src="https://camo.githubusercontent.com/6eb938983459583060ceadf19ffa5ff0dee24c33/68747470733a2f2f7072616268756f6d6b61722e6769746875622e696f2f667269736b792f6173736574732f66617669636f6e732f616e64726f69642d69636f6e2d34387834382e706e67"&gt;&lt;/a&gt;
frisky
&lt;/h1&gt;
Open Source GraphQL API for Online Shows
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://camo.githubusercontent.com/a02bf367099f91979e8fdbb3f3834db4db9bf903/68747470733a2f2f7072616268756f6d6b61722e6769746875622e696f2f667269736b792f6173736574732f6f74686572732f696c6c757374726174696f6e2e706e67"&gt;&lt;img src="https://camo.githubusercontent.com/a02bf367099f91979e8fdbb3f3834db4db9bf903/68747470733a2f2f7072616268756f6d6b61722e6769746875622e696f2f667269736b792f6173736574732f6f74686572732f696c6c757374726174696f6e2e706e67" width="75%"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
Technical Stack/Framework Used&lt;/h2&gt;
&lt;h3&gt;
Built With&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.mongodb.com/cloud/atlas" rel="nofollow"&gt;Cloud Atlas&lt;/a&gt; - Database Service Provider&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://heroku.com/" rel="nofollow"&gt;Heroku&lt;/a&gt; - Platform Service Provider&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
Node.js Packages&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/graphql" rel="nofollow"&gt;GraphQL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/express" rel="nofollow"&gt;Express&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/express-graphql" rel="nofollow"&gt;Express GraphQL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/mongoose" rel="nofollow"&gt;Mongoose&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
Usage&lt;/h2&gt;
&lt;h3&gt;
Prequisites&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://nodejs.org/" rel="nofollow"&gt;Node.js&lt;/a&gt; - Chrome's V8 Javascript Engine&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://mongodb.org/" rel="nofollow"&gt;MongoDB&lt;/a&gt; - NoSQL Database&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
Installation &amp;amp; Setup&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Install the packages mentioned in package.json file for getting all dependencies of the project.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;npm install --save
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Getting the configuration ready
Copy the &lt;code&gt;.env.example&lt;/code&gt; file at the same location and save as &lt;code&gt;.env&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;cp .env.example .env
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Starting the application (after starting MongoDB's mongod)&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;npm start
&lt;/code&gt;&lt;/pre&gt;
&lt;h4&gt;
Linting&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Linting the code&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;npm run lint
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Fixing the linting issues&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;npm run fix
&lt;/code&gt;&lt;/pre&gt;
&lt;h4&gt;
Import Database&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Import shows from sample data&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;mongoimport -d &amp;lt;database_name&amp;gt; -c shows seeds/shows.json
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Import episodes from sample data&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;mongoimport -d &amp;lt;database_name&amp;gt; -c episodes seeds/episodes.json
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;
API Reference&lt;/h2&gt;
&lt;p&gt;Check out &lt;a href="https://prabhuomkar.github.io/frisky" rel="nofollow"&gt;docs&lt;/a&gt; for more information!&lt;/p&gt;
&lt;h2&gt;
Contribute&lt;/h2&gt;
&lt;p&gt;Contributing Guide coming soon!&lt;/p&gt;
&lt;h2&gt;
Issues&lt;/h2&gt;
&lt;p&gt;Issues are managed via GitHub Issues.&lt;/p&gt;
&lt;h2&gt;
License&lt;/h2&gt;
&lt;p&gt;…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/prabhuomkar/frisky"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


</description>
      <category>opensource</category>
      <category>graphql</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
