<?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>Forem: keshri1</title>
    <description>The latest articles on Forem by keshri1 (@keshri1).</description>
    <link>https://forem.com/keshri1</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%2F307630%2F3b0c3c85-445f-4946-a164-81f0b4408ce2.png</url>
      <title>Forem: keshri1</title>
      <link>https://forem.com/keshri1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/keshri1"/>
    <language>en</language>
    <item>
      <title>How to setup MongoDB and robo3t</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Mon, 18 May 2020 10:41:55 +0000</pubDate>
      <link>https://forem.com/keshri1/how-to-setup-mongodb-and-robo3t-f0a</link>
      <guid>https://forem.com/keshri1/how-to-setup-mongodb-and-robo3t-f0a</guid>
      <description>&lt;p&gt;I am assuming that mongodb is installed in your system.&lt;/p&gt;

&lt;p&gt;To start the mongodb server we need to open the command prompt and give the below command:&lt;br&gt;
 /Users/sunny/mongodb/mongodb/bin/mongod.exe --dbpath=/Users/sunny/mongodb-data&lt;/p&gt;

&lt;p&gt;The first part is the folder location of your mongodb file and the second part is the folder location where you want to store all the data which you will create in future.&lt;/p&gt;

&lt;p&gt;Next we need to download robo3t which is a GUI to manage our mongodb database.&lt;/p&gt;

&lt;p&gt;step 1:download robo3t&lt;br&gt;
step 2:open and click on create button&lt;br&gt;
step 3:Give any name&lt;br&gt;
step 4:let it run on local host with port unchanged as it is the same port in which we started our mongodb server.you can go back and chcek in the command prompt there you can se the message : "Listening on 127.0.0.1&lt;br&gt;
2020-05-18T15:44:25.282+0530 I  NETWORK  [listener] waiting for connections on port 27017".&lt;br&gt;
step 6: click on test to check whether your connection has been established and access to database is provided.&lt;br&gt;
step 6:Your database has been created, now to check whether robo3t is connected to mongodb we need to open shell command from robo3t (right click on db and click on open shell)&lt;br&gt;
step 7:give the command-db.version() and it should return the correct version of mongodb which ensures that your connection has been established.&lt;/p&gt;

&lt;p&gt;step 6: click on save.&lt;/p&gt;

&lt;p&gt;There you go with mongodb and robo3t setup.&lt;/p&gt;

&lt;p&gt;In my next post I will be sharing how to integrate mongodb with node js application.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

</description>
      <category>database</category>
      <category>mongodb</category>
      <category>robo3t</category>
    </item>
    <item>
      <title>Deploying React Js portfolio application to heroku</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Sat, 16 May 2020 15:18:02 +0000</pubDate>
      <link>https://forem.com/keshri1/deploying-react-js-portfolio-application-to-heroku-2d8k</link>
      <guid>https://forem.com/keshri1/deploying-react-js-portfolio-application-to-heroku-2d8k</guid>
      <description>&lt;p&gt;If you have your application code in vs code or any text editor.&lt;/p&gt;

&lt;p&gt;step 1: Open command prompt&lt;br&gt;
step 2: Give command git init (This will initialize a git repository in your &lt;br&gt;
        project folder)&lt;br&gt;
step 3: Open Github.com&lt;br&gt;
step 4: Create a new repository&lt;br&gt;
step 5: open gitbash and go to your project folder&lt;br&gt;
step 6: Generate ssh keys.&lt;br&gt;
        give command : ssh-keygen -t rsa -b 4096 -C "your mail id"&lt;br&gt;
        press enter for all question asked.&lt;br&gt;
step 7: To make sure our app is running give command : eval "$(ssh-agent -s)"&lt;br&gt;
step 8: To register the file we need to give the command: ssh-add -K &lt;br&gt;
        ~/.ssh/id_rsa&lt;br&gt;
step 9: copy the remote origin link from your github repository &lt;br&gt;
        example: git remote add origin &lt;a href="https://github.com/keshri1/NodeJs.git"&gt;https://github.com/keshri1/NodeJs.git&lt;/a&gt;&lt;br&gt;
step 10: Generate ssh keys in git bash,copy it and add to github settings.&lt;br&gt;
         give command : cat ~/.ssh/id_rsa.pub  t(to geneate ssh keys in &lt;br&gt;
         gitbash)&lt;br&gt;
step 11: To check whether our key has been set up successfully or not give &lt;br&gt;
         command:  ssh -T &lt;a href="mailto:git@github.com"&gt;git@github.com&lt;/a&gt;&lt;br&gt;
step 11: Now give command &lt;br&gt;
         git push -u origin master&lt;/p&gt;

&lt;p&gt;Now your code has pushed to git hub.&lt;br&gt;
Next Download heroku cli.&lt;br&gt;
open vs studio command prompt do the following steps:&lt;br&gt;
go to project folder&lt;br&gt;
login to heroku website&lt;br&gt;
give command : &lt;br&gt;
    heroku keys:add&lt;br&gt;
this will automatically take ssh key of the project&lt;br&gt;
Next give command to create heroku application&lt;br&gt;
    heroku create my-portfolio&lt;br&gt;
Next give command to publish to heroku&lt;br&gt;
       git push heroku master&lt;/p&gt;

&lt;p&gt;Thats all.&lt;br&gt;
Thank you&lt;/p&gt;

&lt;p&gt;2nd method:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;From Visual studio command prompt give command 
Git init&lt;/li&gt;
&lt;li&gt;git add .&lt;/li&gt;
&lt;li&gt;git commit -m "initial commit"&lt;/li&gt;
&lt;li&gt;Open heroku.com and login/Signup &lt;/li&gt;
&lt;li&gt;Download heroku cli&lt;/li&gt;
&lt;li&gt;Give command
heroku create&lt;/li&gt;
&lt;li&gt;It creates two links, the first one is the address we need to give whwnever we need to visit our application.The second link is our deployment target, a git repository where we can push our local server &lt;/li&gt;
&lt;li&gt;copy second link and give command
git remote add heroku second link
Its okay if you get this msg (fatal: remote heroku already exists.)&lt;/li&gt;
&lt;li&gt;Give command
git push heroku master&lt;/li&gt;
&lt;li&gt;Now give heroku open which opens your project in browser.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>react</category>
      <category>heroku</category>
      <category>git</category>
      <category>herokucli</category>
    </item>
    <item>
      <title>LeetCode 3o days Challenge</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Thu, 02 Apr 2020 14:15:59 +0000</pubDate>
      <link>https://forem.com/keshri1/leetcode-3o-days-challenge-5ch1</link>
      <guid>https://forem.com/keshri1/leetcode-3o-days-challenge-5ch1</guid>
      <description>&lt;h1&gt;
  
  
  LeetCode# I have solved Happy Number.Come and join the fun! &lt;a href="https://leetcode.com/explore/featured/card/30-day-leetcoding-challenge/528/week-1/3284/#.XoXzXkqWL8g.twitter"&gt;https://leetcode.com/explore/featured/card/30-day-leetcoding-challenge/528/week-1/3284/#.XoXzXkqWL8g.twitter&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>30 day Coding Challenge</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Wed, 01 Apr 2020 18:33:46 +0000</pubDate>
      <link>https://forem.com/keshri1/30-day-coding-challenge-3iep</link>
      <guid>https://forem.com/keshri1/30-day-coding-challenge-3iep</guid>
      <description>&lt;h1&gt;
  
  
  LeetCode# I have solved Single Number.
&lt;/h1&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                    Come and join the fun! https://leetcode.com/explore/featured/card/30-day-leetcoding-challenge/528/week-1/3283/#.XoTeTVqkb_I.twitter
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>Flexbox</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Tue, 31 Mar 2020 17:38:40 +0000</pubDate>
      <link>https://forem.com/keshri1/flexbox-2c7i</link>
      <guid>https://forem.com/keshri1/flexbox-2c7i</guid>
      <description>&lt;p&gt;Completed Basics of flexbox.&lt;/p&gt;

</description>
      <category>flexbox</category>
    </item>
    <item>
      <title>Accessibility</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Tue, 31 Mar 2020 17:37:28 +0000</pubDate>
      <link>https://forem.com/keshri1/accessibility-4bja</link>
      <guid>https://forem.com/keshri1/accessibility-4bja</guid>
      <description>&lt;p&gt;Day 6 of lockdown: Completed learning accessibility and how to design responsive web pages.&lt;/p&gt;

</description>
      <category>css</category>
    </item>
    <item>
      <title>Visual Design in CSS</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Sun, 29 Mar 2020 17:07:54 +0000</pubDate>
      <link>https://forem.com/keshri1/visual-design-in-css-3l6k</link>
      <guid>https://forem.com/keshri1/visual-design-in-css-3l6k</guid>
      <description>&lt;h1&gt;
  
  
  Day5ofLockdown.
&lt;/h1&gt;

&lt;p&gt;Completed Visual Design in CSS.&lt;/p&gt;

</description>
      <category>visualdesign</category>
      <category>css</category>
    </item>
    <item>
      <title>HTML</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Fri, 27 Mar 2020 06:44:46 +0000</pubDate>
      <link>https://forem.com/keshri1/html-5d41</link>
      <guid>https://forem.com/keshri1/html-5d41</guid>
      <description>&lt;p&gt;Day 1 Of lockdown: completed basic HTML.&lt;/p&gt;

</description>
      <category>html</category>
    </item>
    <item>
      <title>Basic CSS</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Fri, 27 Mar 2020 06:35:29 +0000</pubDate>
      <link>https://forem.com/keshri1/basic-css-4m8c</link>
      <guid>https://forem.com/keshri1/basic-css-4m8c</guid>
      <description>&lt;p&gt;Day 2 of lockdown: completed Basic CSS.&lt;/p&gt;

</description>
      <category>css</category>
    </item>
    <item>
      <title>Life post</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Fri, 07 Feb 2020 16:03:47 +0000</pubDate>
      <link>https://forem.com/keshri1/life-post-2091</link>
      <guid>https://forem.com/keshri1/life-post-2091</guid>
      <description>&lt;p&gt;I'm not up to my Mark to deliver at least one post each day. So I'll be writing posts weekly which will cover the entire week learnings.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Life learnings</title>
      <dc:creator>keshri1</dc:creator>
      <pubDate>Sun, 12 Jan 2020 19:53:12 +0000</pubDate>
      <link>https://forem.com/keshri1/life-learnings-f66</link>
      <guid>https://forem.com/keshri1/life-learnings-f66</guid>
      <description>&lt;p&gt;Had a wonderful weekend. It went off pretty soon now it's time to spend time on something productive so from tomorrow I'll start writing posts (at least 1 daily) which will have impact on my life, Whether it be related to learning some technology or learning about life self improvement.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
