<?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: Pratik Ambani</title>
    <description>The latest articles on DEV Community by Pratik Ambani (@pratikaambani).</description>
    <link>https://dev.to/pratikaambani</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%2F19354%2Fa832e359-0ae6-4b62-8706-4a7809399f97.jpg</url>
      <title>DEV Community: Pratik Ambani</title>
      <link>https://dev.to/pratikaambani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pratikaambani"/>
    <language>en</language>
    <item>
      <title>Git Strategy for Sanity</title>
      <dc:creator>Pratik Ambani</dc:creator>
      <pubDate>Tue, 31 Jul 2018 08:07:36 +0000</pubDate>
      <link>https://dev.to/pratikaambani/git-strategy-and-sanity-2mg</link>
      <guid>https://dev.to/pratikaambani/git-strategy-and-sanity-2mg</guid>
      <description>&lt;p&gt;"Ah!! Plenty of articles here on the git, I don't want another one." - My first reaction when I reviewed this before publishing. 😜&lt;/p&gt;

&lt;p&gt;Well, we as a team follow a predefined set of rules before committing codebase in git. I'm sharing the same over here as I find them very promising in order to maintain git sanity.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your code is formatted. (let me know in comments if you are also suffering from this phobia 😧 ).&lt;/li&gt;
&lt;li&gt;Don't you dare committing an erroneous code. 😈👿&lt;/li&gt;
&lt;li&gt;Don't forget to update your README.md regularly with required updates on each commit. You may wish to have a look at &lt;a href="https://dev.to/pratikaambani/a-meaningful-readmemd-565a"&gt;this article&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Commit Message must start with Jira ticket number(i.e. XYZ-1234).&lt;/li&gt;
&lt;li&gt;The second word of commit message must be either of (added, removed, changed, refactored, corrected).&lt;/li&gt;
&lt;li&gt;Nobody commits on master and feature/parent branch.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Extensions and Utilities:
&lt;/h1&gt;

&lt;p&gt;I would strongly suggest you to configure,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.fourkitchens.com/blog/article/trigger-jenkins-builds-pushing-github/" rel="noopener noreferrer"&gt;Configure GitHub with Jenkins&lt;/a&gt;, which would help you trigger automated Jenkins builds upon committing to GitHub&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://medium.com/devops-process-and-tools/jenkins-configuration-523f6c3d0896" rel="noopener noreferrer"&gt;Configure GitHub with Sonar Qube&lt;/a&gt;, which would trigger Code Review upon pushing any code in GitHub&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://confluence.atlassian.com/adminjiracloud/connect-jira-cloud-to-github-814188429.html" rel="noopener noreferrer"&gt;GitHub with Jira&lt;/a&gt;, which would help you check progress(commit logs) on Jira&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Rules while creating new Repository:
&lt;/h1&gt;

&lt;p&gt;This will be default structure for any new repository to be created in Production.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F3sj045ra25p8v9vim0db.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F3sj045ra25p8v9vim0db.jpg" alt="repo rules"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Master will contain only README.md&lt;/li&gt;
&lt;li&gt;Release will be passed via feature/parent branch only.&lt;/li&gt;
&lt;li&gt;feature/develop and feature/fixes will be merged into feature/parent only when the code is reviewed&lt;/li&gt;
&lt;li&gt;All new branches will be extension of develop branch only&lt;/li&gt;
&lt;li&gt;Need new Repo?: Create as much as you want, but keep em private only.&lt;/li&gt;
&lt;li&gt;Default collaboration: only to required people&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As usual, suggestions are always welcomed. Happy Coding and may the code bless you. 😇&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
    </item>
    <item>
      <title>A meaningful README.md</title>
      <dc:creator>Pratik Ambani</dc:creator>
      <pubDate>Mon, 02 Jul 2018 04:43:16 +0000</pubDate>
      <link>https://dev.to/pratikaambani/a-meaningful-readmemd-565a</link>
      <guid>https://dev.to/pratikaambani/a-meaningful-readmemd-565a</guid>
      <description>&lt;p&gt;After working for more than 5 years in the field of Development I started realizing the importance of &lt;strong&gt;Documentation&lt;/strong&gt;, and hence I thought to write on documenting README.md file.&lt;/p&gt;

&lt;p&gt;Here are some of the patterns I personally follow and made it a mandate to my team after creating a new repository or before committing codebase in existing repository, have a look at my README.md and markdown all informative notes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project title
&lt;/h2&gt;

&lt;p&gt;These services are part of Blah Blah Blah Project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Screens
&lt;/h2&gt;

&lt;p&gt;Just to let you guys know, you can also add gifs in your (readme.md)markdown file.&lt;br&gt;
&lt;a href="https://i.giphy.com/media/Bg4sg1CJ50wwg/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/Bg4sg1CJ50wwg/giphy.gif" alt="random"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you commit
&lt;/h2&gt;

&lt;p&gt;Before committing code please ensure,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;README.md is updated&lt;/li&gt;
&lt;li&gt;A successful build and jar is deployed on nexus&lt;/li&gt;
&lt;li&gt;All newly implemented APIs are documented&lt;/li&gt;
&lt;li&gt;All newly added properties are documented in additional-spring-configuration-metadata.json&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Libraries used
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Spring Boot 1.5.1.RELEASE&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom:&lt;/strong&gt; Exceptions, File IO, Rest Authentication&lt;/li&gt;
&lt;li&gt;Spring Boot Test&lt;/li&gt;
&lt;li&gt;JSON Library(javax.json)&lt;/li&gt;
&lt;li&gt;Swagger API&lt;/li&gt;
&lt;li&gt;Hibernate Validation API (org.hibernate)&lt;/li&gt;
&lt;li&gt;Random Numbers and String Generators(smt-random-strings and smt-random-numbers)&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;p&gt;These services can perform,&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Employee &lt;strong&gt;CRUD&lt;/strong&gt; operations.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Installing
&lt;/h2&gt;

&lt;p&gt;A step by step series of examples that tell you how to get a development env running&lt;/p&gt;

&lt;h1&gt;
  
  
  Deployment
&lt;/h1&gt;

&lt;p&gt;Add additional notes about how to deploy this on a live system&lt;/p&gt;

&lt;h2&gt;
  
  
  JIRA References
&lt;/h2&gt;

&lt;p&gt;Add all JIRA Tickets with Hyperlinks&lt;/p&gt;

&lt;h2&gt;
  
  
  Versions
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;1.0-SNAPSHOT: Contains Add, View, Update, and Delete Employees&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Developers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Pratik Ambani(&lt;a href="mailto:Pratik.ambani@companydomain.com"&gt;Pratik.ambani@companydomain.com&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;A short snippet describing the license (MIT, Apache etc)&lt;/p&gt;




&lt;p&gt;As usual, suggestions are always welcomed. Happy Coding and may the code bless you. 😇&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TIP:&lt;/strong&gt; Keep your README.md updated if you believe in &lt;em&gt;KARMA&lt;/em&gt;. 😉&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>documentation</category>
      <category>readme</category>
    </item>
    <item>
      <title>Explain OAuth like I'm Five</title>
      <dc:creator>Pratik Ambani</dc:creator>
      <pubDate>Thu, 07 Jun 2018 11:51:12 +0000</pubDate>
      <link>https://dev.to/pratikaambani/explain-oauth-like-im-five-34a1</link>
      <guid>https://dev.to/pratikaambani/explain-oauth-like-im-five-34a1</guid>
      <description></description>
      <category>explainlikeimfive</category>
      <category>security</category>
      <category>oauth</category>
    </item>
    <item>
      <title>Explain idempotency (in REST) like I'm Five</title>
      <dc:creator>Pratik Ambani</dc:creator>
      <pubDate>Thu, 07 Dec 2017 01:21:09 +0000</pubDate>
      <link>https://dev.to/pratikaambani/explain-idempotencyin-rest-like-im-five-i</link>
      <guid>https://dev.to/pratikaambani/explain-idempotencyin-rest-like-im-five-i</guid>
      <description></description>
      <category>explainlikeimfive</category>
      <category>rest</category>
      <category>webservices</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Explain Cross Site Scripting(XSS) attacks like I'm Five</title>
      <dc:creator>Pratik Ambani</dc:creator>
      <pubDate>Fri, 20 Oct 2017 03:19:07 +0000</pubDate>
      <link>https://dev.to/pratikaambani/explain-cross-site-scriptingcss-attacks-like-im-five-2hi</link>
      <guid>https://dev.to/pratikaambani/explain-cross-site-scriptingcss-attacks-like-im-five-2hi</guid>
      <description></description>
      <category>discuss</category>
      <category>javascript</category>
      <category>xss</category>
      <category>explainlikeimfive</category>
    </item>
    <item>
      <title>Explain HTTP Verbs like I'm Five</title>
      <dc:creator>Pratik Ambani</dc:creator>
      <pubDate>Sat, 14 Oct 2017 16:18:51 +0000</pubDate>
      <link>https://dev.to/pratikaambani/explain-http-verbs-like-im-five-b10</link>
      <guid>https://dev.to/pratikaambani/explain-http-verbs-like-im-five-b10</guid>
      <description></description>
      <category>explainlikeimfive</category>
      <category>http</category>
      <category>verbs</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
