<?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: abhishekq61</title>
    <description>The latest articles on DEV Community by abhishekq61 (@abhishekq61).</description>
    <link>https://dev.to/abhishekq61</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%2F360585%2Fa0b7a710-25fb-4122-832a-660d9e593894.jpeg</url>
      <title>DEV Community: abhishekq61</title>
      <link>https://dev.to/abhishekq61</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhishekq61"/>
    <language>en</language>
    <item>
      <title>Saas- Idea to Reality</title>
      <dc:creator>abhishekq61</dc:creator>
      <pubDate>Sat, 18 Apr 2020 12:45:06 +0000</pubDate>
      <link>https://dev.to/abhishekq61/saas-idea-to-reality-2kh2</link>
      <guid>https://dev.to/abhishekq61/saas-idea-to-reality-2kh2</guid>
      <description>&lt;p&gt;Disclaimer: &lt;i&gt;I am writing this blog on behalf of StaqLab tunnel &lt;a href="http://tunnel.staqlab.com/"&gt;Staqlab Tunnel-Expose Your localhost&lt;/a&gt; .This blog contains a refrence of services provide by staqlab tunnel.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;If you are new to software development or a student you must have considered what is basic lifecycle whish a Saas Product follows right from being an idea to reality.&lt;br&gt;
Here i will try to explain you the key steps involved to develop your own Saas Products which company follows to make their product go-live to general public.&lt;br&gt;
Software development lifecycle can be broadly classified in broadly three main categories leaving some miscellaneous part like funding, hiring etc behind because that altogether a completely different story&lt;/p&gt;

&lt;h1&gt;
  
  
  Developing
&lt;/h1&gt;

&lt;p&gt;First you write some code in programming language of your choices and needs. Then you will have to decide what framework and existing technology you can rely you to be a part of your software technology stack.&lt;br&gt;
Choosing the right technology stack is a very crucial and important task and it should be done with much sincerity and keeping the future needs and scalability in mind.&lt;br&gt;
You can can't come the other day your software proves to be successful venture and start the whole development process right from the scratch.Spending a little bit of time in choosing right technology will save much of your time in coming future.&lt;/p&gt;

&lt;h1&gt;
  
  
  Testing
&lt;/h1&gt;

&lt;p&gt;There are basically in-app test and AB Tests.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;In-App Tests&lt;/i&gt;&lt;br&gt;
This is some code you write- to test the code in development will work properly or not. Funny isn't it -the paradox.&lt;br&gt;
There is generally a test folder which relies in your code directory. Before introducing a new feature or solving some existing bug-you write a testcase for it.&lt;br&gt;
Generally you give some input condition to your test code and then expects a specif output.If the code under test produces the right output you assumes your code is working perfectly.&lt;br&gt;
You write a series of crucial testcases and then can proceed to A/B Testing.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;A/B Testing&lt;/i&gt;&lt;br&gt;
This is end-to-end user experience testing. In this there is not some machines who test your codes. There are actually some real beta-users or testers who test your software for user usability and user experience&lt;br&gt;
For testers you will need to give them some public url which they can open in their respective PC and begin the testing. To do so you can deploy the code on some beta environment but it do comes with a cost and also its not so effective approach if there are many parallel development going on. Deploying a server for every such bug/ feature testing would be a heavy burden on founders pocket.&lt;/p&gt;

&lt;p&gt;Here comes the role of tunnelling to save you from this dilemia .&lt;br&gt;
You can you StaqLab tunnel Staqlab Tunnel-Expose Your localhost .It exposes serer on your machine over to the public internet.&lt;br&gt;
The develoepr/tester will need to run the code on his machine and using Staqlab Tunnel-Expose Your localhost he can generate an public url.&lt;/p&gt;

&lt;p&gt;Screenshot taken from app.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Xnb9460s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tunnel.staqlab.com/img/staqlab-inspector.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Xnb9460s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tunnel.staqlab.com/img/staqlab-inspector.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0l45bdfn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tunnel.staqlab.com/img/sample-output.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0l45bdfn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tunnel.staqlab.com/img/sample-output.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can also pass-on that link to anyone who is not on your private network too.You ac also give it to your clients before actually making the changes live.&lt;br&gt;
After all the bug are resolved and testers give you a go-ahead on user usability and experience your software is ready to actually go Live, after some party and snacks Ofcourse!!&lt;/p&gt;

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

&lt;p&gt;First determine minimum server requirement for your software to run properly. Minimum the requirement minimum the cost for servers. Don't be too miser ofcourse.&lt;br&gt;
After you drilled down the requirement choose some cloud service providers you like such as AWS, Digital Ocean, Heroku to name few.&lt;br&gt;
Setup the server and install dependencies on it you need for your baby software.&lt;/p&gt;

&lt;p&gt;After that copy your code to your sever and run that magical start command that ignites your application - most probably yarn start if you working on JS.&lt;/p&gt;

&lt;p&gt;If you are tired of deploying the code everytime you make some changes you can use CI/CD services to automate this work for you.&lt;/p&gt;

&lt;p&gt;Now start marketing your product and make your product available to the world!!!&lt;/p&gt;

</description>
      <category>tunnel</category>
      <category>deploying</category>
      <category>testing</category>
      <category>ngrok</category>
    </item>
    <item>
      <title>Debug#Host Servers on your localhost</title>
      <dc:creator>abhishekq61</dc:creator>
      <pubDate>Sat, 04 Apr 2020 12:33:58 +0000</pubDate>
      <link>https://dev.to/abhishekq61/debug-host-servers-on-your-localhost-2dd9</link>
      <guid>https://dev.to/abhishekq61/debug-host-servers-on-your-localhost-2dd9</guid>
      <description>&lt;p&gt;Disclaimer: I am author from &lt;a href="https://tunnel.staqlab.com/"&gt;Staqlab Tunnel&lt;/a&gt;.This blog contains reference to services provided by tunnel-staqlab.&lt;br&gt;
Do give me a thumbs up, if you find this blog useful&lt;/p&gt;

&lt;p&gt;One of the major part of coder life is testing.When it comes to stand-alone consoles apps the testing is pretty easy.You just hook up some debug breakpoints in your favourite IDE and hit the debug button and &lt;i&gt;vola&lt;/i&gt; you could see all the variables and inspect your code right-in where you placed your breakpoint.&lt;/p&gt;

&lt;p&gt;But what if you rely on some external services to get your code working...&lt;/p&gt;

&lt;p&gt;As for example, most of the REST/HTTP  applications contains webhook routes from external services as a major part of the workflow.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;You just want requests from these services to be forwarded to your localhost!!! But wait what, is this possible?&lt;/b&gt;&lt;br&gt;
Can your localhost be connected over to the internet and traffic from web is forwarded to your local machine?&lt;/p&gt;

&lt;p&gt;Yes this is possible through principles of &lt;a href="https://www.ssh.com/ssh/tunneling/"&gt;SSH Tunneling&lt;/a&gt;.&lt;br&gt;
There are already tunnels servers like &lt;a href="https://tunnel.staqlab.com/"&gt;Staqlab Tunnel&lt;/a&gt; which forwards traffic from web to your localhost.&lt;/p&gt;

&lt;p&gt;The guide on staqlab is pretty self-explanatory. However lets discuss step-by-step procedure here also.&lt;br&gt;
I will assume your server is running on localhost:3000&lt;br&gt;
At the end of this tutorial you will be able to get a public url, which points to server running locally on port 3000.&lt;i&gt;Do mind that the port can be any valid port.It doesn't necessarily be 3000&lt;/i&gt;&lt;/p&gt;

&lt;h3&gt;Step 1:&lt;/h3&gt;

&lt;p&gt;Download tunnel client for you pc from &lt;a href="https://tunnel.staqlab.com/downloads"&gt;https://tunnel.staqlab.com/downloads&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h3&gt;Step 2:&lt;/h3&gt;

&lt;p&gt;Go to your downloads folder and unzip the zip file downloaded&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h3&gt;Step 3:&lt;/h3&gt;

&lt;p&gt;Open terminal and navigate to folder where you have placed the downloaded file. and paste below command&lt;br&gt;
&lt;code&gt;./staqlab-tunnel 3000&lt;/code&gt;&lt;br&gt;
if you want to have a custom domain.Look, its also possible.Replace above command with below command.&lt;br&gt;
&lt;code&gt;./staqlab-tunnel 3000 hostname=&amp;lt;your-domain&amp;gt;&lt;/code&gt;&lt;br&gt;
e.g&lt;br&gt;
&lt;code&gt;./staqlab-tunnel 3000 hostname=kitty-lovers&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After following above steps, you will be greeted with 3 urls on your terminal window.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0l45bdfn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tunnel.staqlab.com/img/sample-output.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0l45bdfn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tunnel.staqlab.com/img/sample-output.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;First one, is inspector url. Its a powerful tool where you can investigate and replay all the http/https traffic  from/to your server&lt;/p&gt;

&lt;p&gt;The second and third url are http and https versions of the the public url which is in this case is&lt;br&gt;&lt;br&gt;
Just copy this url and paste it in your browser and see the magic, you can &lt;br&gt;
see response from your pc on the your browser window.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Share this url with your colleagues, and display your work over the web!!&lt;/p&gt;

</description>
      <category>localhost</category>
      <category>customdomain</category>
      <category>debugging</category>
      <category>hosting</category>
    </item>
  </channel>
</rss>
