<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Prottay Ray on Medium]]></title>
        <description><![CDATA[Stories by Prottay Ray on Medium]]></description>
        <link>https://medium.com/@prottayray?source=rss-a48f0f32772f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S35UJorhebxYAY76xmdmnQ.jpeg</url>
            <title>Stories by Prottay Ray on Medium</title>
            <link>https://medium.com/@prottayray?source=rss-a48f0f32772f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:10:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prottayray/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Spring Boot backend Java application for ‘Secret Santa’ with microservices]]></title>
            <link>https://prottayray.medium.com/building-a-spring-boot-backend-java-application-for-secret-santa-with-microservices-5ea02bd960f5?source=rss-a48f0f32772f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ea02bd960f5</guid>
            <category><![CDATA[spring]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Prottay Ray]]></dc:creator>
            <pubDate>Sun, 19 Dec 2021 16:28:20 GMT</pubDate>
            <atom:updated>2021-12-20T14:13:02.726Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello readers! Are you excited to know how the backends of real-world applications are built? Are you interested in backend Java development using Spring Boot? If it is, then you&#39;re in the right place.</p><p>In this article, we are going to explore the idea of creating backend Java systems using microservices, taking ‘Secret Santa’ as a case study. I, <strong>Prottay Ray</strong>, had collaborated with two other developers <strong>Caryn D’Souza, </strong>and <strong>Gautam Ankit Singh </strong>to make this project. According to <a href="https://en.wikipedia.org/wiki/Secret_Santa">Wikipedia</a>, “<strong>Secret Santa</strong> is a <a href="https://en.wikipedia.org/wiki/Western_culture">Western</a> <a href="https://en.wikipedia.org/wiki/Christmas">Christmas</a> tradition in which members of a group or community are randomly assigned a person to whom they give a <a href="https://en.wikipedia.org/wiki/Gift">gift</a>. The identity of the gift giver is to remain a secret and should not be revealed.”</p><p>The first step towards starting this project was getting the user requirements clarified thru a discussion among the teammates, and preparing a <strong>User Stories document</strong>. In this step, we understood the details of the features that the client wants from us and accordingly noted them down. The <em>requirements</em> that came up in this process were:</p><ol><li>User Authentication and Authorization.</li><li>Users can create multiple groups to play the game of Secret Santa.</li><li>In each group, the creator will specify certain details viz. Group Title, Group Name, Group joining Deadline, Wishlist Submission Deadline.</li><li>Any user of our system can join a group by specifying the <strong>Group Name.</strong></li><li>The group name has to be <strong>unique</strong>, throughout our system. No two groups can have the same name.</li><li>Users should be able to get a suggestion of a unique group name from the system, that is not taken by anyone.</li><li>The group gets deleted when the gifts are given out by all the ‘Santas’.</li><li>A user can view the names of all other members of the group.</li><li>A user can view all the groups that the user is attached to.</li><li>All users should be able to submit their respective wishlists in the system, wherein, they specify the gifts they want and also specify the priority of each gift item, within the deadline of wishlist submission.</li><li>After the wishlist submission deadline, the system should randomly assign every user as the ‘Santa’ of some other user. The user can become its own ‘Santa’.</li><li>The Santa should be able to see the identity and wishlist of the user who would receive the gift(s) from it.</li><li>The Santa should be able to gift the items to the gift recipient.</li><li>The Santa should be able to check whether it has gifted its mapped gift recipient or not.</li><li>The user should be able to check whether its ‘Santa’ has gifted it or not.</li><li>Our system should be able to prevent any attempt to create multiple groups with the same name.</li><li>Once a group gets deleted, the associated group name has to be <strong>released</strong> and made available again.</li></ol><p>In the previous step, we got a clear understanding of the needs of our project. The next step was to decide on a suitable architecture for our system, such that our system properly functions. This step is very crucial and impacts the overall performance of a system. We discussed and observed that there were certain parts of our system, which may need modifications over time, and work in completely different ways from other parts of the system. So, to have <strong>Single Responsibility</strong> and less complexity in our system, we decided to go for microservices in our system. The decision on choosing <strong>microservices</strong> happened in the following way:</p><ol><li><strong>User Authentication and Authorization</strong> is such a domain that will keep evolving constantly with time. With passing time the parameters of security keep changing. This part also has no logical relevance with the core functionality of the system. So we decided to have it as a completely different microservice.</li><li><strong>Group Activities</strong> form the core functionality of the app, we get all related features like creating a group, joining the group, gifting in the group, etc. in this domain. So, we decided to have it as a completely separate and most essential microservice.</li><li><strong>Unique Group Name </strong>is something that seems to be very simple and inclusive to the core functionality of the app but in a subtle way, if properly perceived then we will realize that it has a <strong>completely different set of algorithms</strong> to maintain that the group names are unique, group names are released when a group is deleted, old and released group names can be reused if user chooses to get a system generated group name, caching a number of unique group names beforehand, to save our system from frequent costly database queries, where group-name details are stored.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ea02bd960f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a full-stack clone of website easemytrip.com]]></title>
            <link>https://prottayray.medium.com/creating-a-full-stack-clone-of-website-easemytrip-com-8231c514ce11?source=rss-a48f0f32772f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8231c514ce11</guid>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[full-stack-developer]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[backend]]></category>
            <dc:creator><![CDATA[Prottay Ray]]></dc:creator>
            <pubDate>Sun, 03 Oct 2021 08:08:13 GMT</pubDate>
            <atom:updated>2021-10-07T06:00:57.981Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello! I hope this finds you in the best of your moods. Today I am going to give you a brief overview of a project, clone of easemytrip.com, that I did along with three other developers, in less than a week’s time, and throw light on some of the crucial aspects of building any successful full-stack web-application right from the scratch!</p><p><em>“You don’t have to see the whole staircase, just take the first step.” </em>says<em> </em><strong>Martin Luther King, Jr.</strong></p><p><em>“Rome was not built in one day” </em>says<em> </em><strong>John Heywood.</strong></p><p>These principles, if deeply thought and realized, are enough qualities for anyone to have a great and sustainable start in creating a full-stack website of any scale. Whenever we talk about a full-stack website, we should understand what a full-stack website actually means.</p><p>Any deployment-ready website has three building blocks or development areas — <strong>frontend, backend, and databases.</strong></p><p>If a website has all these three components (which any proper website has), then it is a full-stack website and a developer who has expertise in developing all these ends of a website is called a full-stack developer.</p><p>As a part of our curriculum in Masai School, we learn and thrive to be competent full-stack developers, and hence this time our team — <strong>Suraj Verma, Rahul Meena, Ravi Pandurang Mane, and me (Prottay Ray)</strong>, was assigned the project of creating a clone of the website easemytrip.com.</p><p>EaseMyTrip is an Indian online travel company, founded in 2008, which provides hotel bookings, air tickets, holiday packages, bus bookings, and white-label services. EaseMyTrip is famous for being one of those companies in the country which provide air tickets at the cheapest prices, and hence, its website always observes heavy traffic for all sorts of flight bookings.</p><p>The first thing that we did in our project was observing the website and its functionalities in detail and select the functionalities that we were going to implement. This website is huge and maintained by numerous professional developers over time, so it is not feasible to build the complete website by just four people in a limited time frame. So, after a little walk thru the website and discussions, we decided on the <strong>tech stack</strong> that we were going to use for the project which comprises <strong>HTML5, CSS3, Javascript, ExpressJS, MongoDB, and Mongoose. </strong>We have used <strong>Git and Github </strong>as our distributed version control system to collaborate, contribute to, and track our project simultaneously, as a team of developers. The functionalities that we decided to implement were the <strong>Login and Signup systems, Flight search system, Flight booking system, and the Payment System</strong>. Using this website, a user can search for a flight, book a flight based on various preferences, and finally make payment thru one of the multiple available gateways. The flight Search system was implemented by me (Prottay Ray), the Database and some Backend functionalities were implemented by Suraj Verma, the Booking system was implemented by Rahul Meena, and the Payment system was implemented by Ravi Pandurang Mane. We all worked on the home page.</p><p>Throughout the journey, we divided our project into multiple smaller tasks which could be individually accomplished and had multiples meetings in a day to discuss our progress and decide further plans of action.</p><p>We faced some challenges at various stages of development like some API misbehaviors, styling challenges, but we overcame all of them thru discussions and research. Our instructional associate <strong>Nitansh Rastogi</strong>, also helped us overcome some of our challenges very efficiently.</p><p>The following are some of the appearances of our website:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4KErk_nxoRQd4KPpT52kIg.png" /><figcaption>The Home Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m_Q6Ikvb2sMJnxe3_vKWuQ.png" /><figcaption>The search results</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bF-BiVMhA1IzSg6I3Tv3Yg.png" /><figcaption>The Booking Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LECM2Wj_yl2uatzwDXKXNg.png" /><figcaption>The Payment Page</figcaption></figure><p>Our instructors <strong>Nrupul Dev, Swanand Kadam, Dhaval Chheda, and Lohit Marodia </strong>had disseminated all the concepts Web-Development viz. front-end, back-end, and data structures and algorithms with great efficiency which played an integral role in the success of our project.</p><p>Our project can be found on the following link:-</p><p><a href="https://github.com/Prottay-Ray/EaseMyTrip-clone">GitHub - Prottay-Ray/EaseMyTrip-clone: This is a clone of the website EaseMyTrip.com. Feel free to go ahead and explore this website live from the following link!</a></p><p>Our website can be explored live on the Internet using the following link:</p><p><a href="https://easemytrip.netlify.app/">https://easemytrip.netlify.app/</a></p><p>Feel free to go ahead and explore this website!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8231c514ce11" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>