<?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: open devs</title>
    <description>The latest articles on DEV Community by open devs (@opendevsorg).</description>
    <link>https://dev.to/opendevsorg</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%2F460140%2Fc3679839-95ce-484f-8ae8-d94411bb3ab1.png</url>
      <title>DEV Community: open devs</title>
      <link>https://dev.to/opendevsorg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/opendevsorg"/>
    <language>en</language>
    <item>
      <title>you need to relax a little developers</title>
      <dc:creator>open devs</dc:creator>
      <pubDate>Sat, 20 Feb 2021 10:52:57 +0000</pubDate>
      <link>https://dev.to/opendevsorg/you-need-to-relax-a-little-developers-4l6c</link>
      <guid>https://dev.to/opendevsorg/you-need-to-relax-a-little-developers-4l6c</guid>
      <description>&lt;p&gt;hello friends, you know what is the best thing about vs-code? you can configure it the way you want &amp;amp; develop something to expand upon it. well in that context, today we at &lt;a href="https://opendevs.in" rel="noopener noreferrer"&gt;opendevs&lt;/a&gt; are introducing a new product: &lt;a href="https://marketplace.visualstudio.com/items?itemName=open-devs.relax-a-little" rel="noopener noreferrer"&gt;relax a little&lt;/a&gt;. as the name suggests, this free extension tells you to relax in a way that you want.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AmdRirRdIsRC2-DRumw-sNQ.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AmdRirRdIsRC2-DRumw-sNQ.png" alt="relax a little marketplace listing"&gt;&lt;/a&gt;&lt;em&gt;relax a little marketplace listing&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Wait, What do you mean in a way you want 🤔?
&lt;/h2&gt;

&lt;p&gt;well like a good but strict friend it can remind you to take a break from all the coding you're doing &amp;amp; tell you to drink a little water or tell you to stop typing for a while, or straight up make the coding so uncolored that you have to take a break... but it asks you every detail about it first.&lt;/p&gt;

&lt;h2&gt;
  
  
  How can I use it 📜?
&lt;/h2&gt;

&lt;p&gt;just configure it using the various ways available to make it more stubborn than you are so, it'll take care of the rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  What exactly can I configure ⚙?
&lt;/h2&gt;

&lt;p&gt;whatever you want:&lt;/p&gt;

&lt;h3&gt;
  
  
  at what time you want to take a break
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2ADlqxj9by1ogldhPmAcfxIQ.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2ADlqxj9by1ogldhPmAcfxIQ.png" alt="minutes till break setting"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  how long break duration should be
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2A3JJeZHIoSfmmY-_jXD0igQ.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2A3JJeZHIoSfmmY-_jXD0igQ.png" alt="break duration minutes setting"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  how long should it take color to fade out completely
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2Ai4Xh4rZI4QCCCJUwdbXoCw.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2Ai4Xh4rZI4QCCCJUwdbXoCw.png" alt="wind down duration minutes setting"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  at what rate colors will change?
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AYJhLMrCSYNy4ISyQu0y5Gw.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AYJhLMrCSYNy4ISyQu0y5Gw.png" alt="color change frames setting"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  color change frames setting
&lt;/h3&gt;

&lt;p&gt;if you forget to drink sufficient water (like us), then at what duration it should tell you for a little water break:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AaqOCUNhByLFlR8Y1jdT_KA.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AaqOCUNhByLFlR8Y1jdT_KA.png" alt="minutes till water break setting"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  minutes till water break setting
&lt;/h3&gt;

&lt;p&gt;finally, our motivation behind it is to not put 1000 blocking notifications on your screen as &lt;a href="https://github.com/Microsoft/vscode/issues/63460" rel="noopener noreferrer"&gt;we know how much some of you hate annoying popups&lt;/a&gt;, we did our homework:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2Ar63m-tYNFCYRHhNTnDCrnw.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2Ar63m-tYNFCYRHhNTnDCrnw.png" alt="blocking notification setting"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;also, each feature can individually be turned off, so if you are good at your water amount or you're saving water for the environment you can tell the extension so:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AZiQ8AabvsWxXvSaqx_oCjQ.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2AZiQ8AabvsWxXvSaqx_oCjQ.png" alt="commands available"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://github.com/open-devs/relax-a-little#-demo" rel="noopener noreferrer"&gt;Full Demo&lt;/a&gt;
&lt;/h3&gt;

&lt;h2&gt;
  
  
  What's the story or motivation behind this❓
&lt;/h2&gt;

&lt;p&gt;well on a fine lockdown Sunday we were working on some freelancing work, we were at it for a few hours at that point in time not realizing how much time has passed, one of us remembers sitting at our laptop after morning break and when he looked out of the window next, people were taking their dogs out for evening stroll 🤦‍♂️🤦‍. we knew we had to do something about it &amp;amp; we definitely show some of our friends having the same issue. we added this extension to our roadmap.&lt;/p&gt;

&lt;h2&gt;
  
  
  I can simply ignore these notifications, no use to me 😑
&lt;/h2&gt;

&lt;p&gt;if you want you can contact us &amp;amp; we might give you a call from time to time (on skype or other free platforms of course) but that's all we can do right? after all self-control is the key thing to learn while being a developer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can I contribute to make it better 😎 ?
&lt;/h2&gt;

&lt;p&gt;of course, you can. we will love it for you to come up with ideas to improve fellow developers' health without being disruptive to their work &amp;amp; then implement those great ideas with us or fix some critical issues.&lt;/p&gt;

&lt;h2&gt;
  
  
  Are there some ideas you have in mind that I can develop as of now 🤩?
&lt;/h2&gt;

&lt;p&gt;we do want to have a theme changer feature in it in near future to change the theme based on the time of the day, we also want to include some random quotes in breaks to make it fun to look at, of course, all of these features should be individually turn off-able.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2A4aMS8SsV3Hj05yH30Ml6DQ.png" 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%2Fcdn-images-1.medium.com%2Fmax%2F2000%2F1%2A4aMS8SsV3Hj05yH30Ml6DQ.png" alt="[https://www.buymeacoffee.com/opendevs](https://www.buymeacoffee.com/opendevs)"&gt;&lt;/a&gt;&lt;em&gt;&lt;a href="https://www.buymeacoffee.com/opendevs" rel="noopener noreferrer"&gt;https://www.buymeacoffee.com/opendevs&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  so save on all those medicine 💊 costs &amp;amp; give this project an ⭐ at &lt;a href="https://github.com/open-devs/relax-a-little" rel="noopener noreferrer"&gt;github&lt;/a&gt; &amp;amp; &lt;a href="https://marketplace.visualstudio.com/items?itemName=open-devs.relax-a-little" rel="noopener noreferrer"&gt;visual studio marketplace&lt;/a&gt; or buy us a coffee?
&lt;/h3&gt;

</description>
      <category>vscode</category>
      <category>javascript</category>
      <category>typescript</category>
      <category>productivity</category>
    </item>
    <item>
      <title>fastify typeScript generator: a generator for creating fastify server with typescript</title>
      <dc:creator>open devs</dc:creator>
      <pubDate>Tue, 01 Sep 2020 06:54:48 +0000</pubDate>
      <link>https://dev.to/opendevsorg/fastify-typescript-generator-a-generator-for-creating-fastify-server-with-typescript-j3e</link>
      <guid>https://dev.to/opendevsorg/fastify-typescript-generator-a-generator-for-creating-fastify-server-with-typescript-j3e</guid>
      <description>&lt;p&gt;hi everyone, 👋&lt;br&gt;
today we’ll learn to use a great generator tool to create a fastify server in everyone’s favourite typescript language. 👨‍💻&lt;/p&gt;
&lt;h2&gt;
  
  
  now the first question first, what is fastify?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Jqf3ja_D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ob3zjtv5rudp4x0pq6hy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Jqf3ja_D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ob3zjtv5rudp4x0pq6hy.png" alt="https://fastify.io/" width="623" height="204"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;if you are coming from Node.js background you must have heard of expressjs, it is a web application framework that provides you with a simple API to build websites, web apps and back ends. Now express can be considered as a bit slower. fastify is detailed as a “fast and low overhead web framework, for Node.js”. fastify is a web framework highly focused on speed and low overhead. it is inspired by express and hapi, it is one of the fastest web frameworks in town. using fastify can increase your throughput by up to 100%.&lt;/p&gt;
&lt;h2&gt;
  
  
  advantages of using fastify?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;100% asynchronous: all the core is implemented with asynchronous code, in this way not even a millisecond is wasted.&lt;/li&gt;
&lt;li&gt;highly performant: as far as we know, fastify is one of the fastest web frameworks in town, depending on the code complexity we can serve up to 20000 requests per second.&lt;/li&gt;
&lt;li&gt;extendible: &lt;strong&gt;fastify&lt;/strong&gt; is fully extensible via its hooks, plugins, and decorators.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dN7JP059--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/7erqnz4z1q9fg38swqz8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dN7JP059--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/7erqnz4z1q9fg38swqz8.png" alt="https://fastify.io/benchmarks/" width="644" height="675"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  why do we need a generator?
&lt;/h2&gt;

&lt;p&gt;to scaffold applications quicker we need a generator to provide us with a basic useful template on which we can expand based on our requirements.&lt;/p&gt;
&lt;h2&gt;
  
  
  &amp;amp; so comes fastify-typescript-generator
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--600l8Ogt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/aoufvtxsjg43varjfqor.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--600l8Ogt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/aoufvtxsjg43varjfqor.png" alt="https://npmjs.com/package/fastify-typescript-generator" width="716" height="228"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;we created this generator keeping few things in mind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;using typescript in our templates for better coding standards &amp;amp; attain all the other benefits of typescript.&lt;/li&gt;
&lt;li&gt;providing a template for people familiar with express&lt;/li&gt;
&lt;li&gt;providing a template for people wanting to familiarize themselves with the concept of fastify and it’s the plugin system.&lt;/li&gt;
&lt;li&gt;providing templates with the option to choose between mongoose (a well known MongoDB driver in node.js world supporting schema) &amp;amp; TypeORM which is an ORM that can be used to connect to various SQL as well as MongoDB database (MongoDB connection in BETA) &amp;amp; work with them built specifically keeping typescript in mind.&lt;/li&gt;
&lt;li&gt;some templates have OpenAPI (previously Swagger) implementation&lt;/li&gt;
&lt;li&gt;a cool interactive CLI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;so please check it out. it’s already gaining tracking in the community.&lt;/p&gt;
&lt;h2&gt;
  
  
  npm
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/fastify-typescript-generator"&gt;https://www.npmjs.com/package/fastify-typescript-generator&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  how to use it?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UX4NkVpl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/y2712lt025tf8xgjh5sv.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UX4NkVpl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/y2712lt025tf8xgjh5sv.gif" alt="https://github.com/open-devs/fastify-typescript-generator#-demo" width="880" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;or in textual form:&lt;/p&gt;
&lt;h2&gt;
  
  
  install
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;npm&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;g&lt;/span&gt; &lt;span class="nx"&gt;fastify&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;typescript&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;generator&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  usage
&lt;/h2&gt;

&lt;p&gt;run anyone of following commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;fastify&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;gen&lt;/span&gt;
&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nx"&gt;or&lt;/span&gt;
&lt;span class="nx"&gt;fastify&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;typescript&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;generator&lt;/span&gt;
&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nx"&gt;or&lt;/span&gt;
&lt;span class="nx"&gt;fastify&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;ts&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;gen&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  who are we?
&lt;/h2&gt;

&lt;p&gt;we are &lt;strong&gt;open devs&lt;/strong&gt; an organization of two motivated developers (&lt;a href="https://github.com/alok722"&gt;@alok722&lt;/a&gt;, &lt;a href="https://github.com/mikr13"&gt;@mikr13&lt;/a&gt;) building open source tools &amp;amp; software to contribute to the community. we are very welcoming towards collaboration &amp;amp; new people joining us in any capacity with a vision to profit community in terms of great tools and education.&lt;br&gt;
you can join us in various places:&lt;br&gt;
&lt;a href="https://www.npmjs.com/package/fastify-typescript-generator"&gt;npm&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/open-devs"&gt;github&lt;/a&gt;&lt;br&gt;
&lt;a href="https://twitter.com/opendevs_2020"&gt;twitter&lt;/a&gt;&lt;br&gt;
&lt;a href="https://opendevs.in"&gt;website&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>fastify</category>
      <category>opensource</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
