<?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: Neo Yeo</title>
    <description>The latest articles on DEV Community by Neo Yeo (@tealinadev).</description>
    <link>https://dev.to/tealinadev</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%2F1224952%2Ffdb85976-a5f0-4b60-955c-e0affe624497.png</url>
      <title>DEV Community: Neo Yeo</title>
      <link>https://dev.to/tealinadev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tealinadev"/>
    <language>en</language>
    <item>
      <title>Tealina: A Revolutionary CLI / toolkit for TypeScript Full-Stack Development</title>
      <dc:creator>Neo Yeo</dc:creator>
      <pubDate>Sun, 03 Dec 2023 21:03:51 +0000</pubDate>
      <link>https://dev.to/tealinadev/tealina-a-revolutionary-cli-toolkit-for-typescript-full-stack-development-3k1o</link>
      <guid>https://dev.to/tealinadev/tealina-a-revolutionary-cli-toolkit-for-typescript-full-stack-development-3k1o</guid>
      <description>&lt;p&gt;In this blog, we will delve into Tealina and its related toolkits, exploring how to use these tools to improve the efficiency and type safety of API development.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tealina: A development tool for end-to-end type safety APIs
&lt;/h3&gt;

&lt;p&gt;Tealina is a command-line interface (CLI) tool designed to improve the efficiency and safety of API development. Its biggest feature is that it provides support for end-to-end type safety. This means that your API can maintain type consistency and safety from the back-end to the front-end. It can also generate code and type definitions, further reducing repetitive work and potential errors in the development process. In addition, it also supports generating API documents to improve maintainability&lt;/p&gt;

&lt;h4&gt;
  
  
  Features and advantages
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Typesafety API&lt;/strong&gt;: Ensure API type consistency at all levels and reduce type errors.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rkgtTf0U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jw63rsz7mr8uqmqdnxnr.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rkgtTf0U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jw63rsz7mr8uqmqdnxnr.gif" alt="end-to-end typesafety" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Improve development efficiency&lt;/strong&gt;: Generating basic code and types from the command line can significantly improve development speed.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tA1AM1XS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ll3hdnronkal1ateqdjo.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tA1AM1XS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ll3hdnronkal1ateqdjo.gif" alt="gtype-gcode" width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;API documentation&lt;/strong&gt;: One command extracts type information from code and generates a document.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--956jUPsa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w5xn2dco8u2995x1nkfh.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--956jUPsa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w5xn2dco8u2995x1nkfh.gif" alt="doc-show" width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  @tealina/doc-ui: Modern &amp;amp; interactive user interface.
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;@tealina/doc-ui&lt;/code&gt; is a modern user interface specifically designed to display documents generated by Tealina. Its interface style is similar to the popular code editor VS Code, providing syntax highlighting to make document reading more user-friendly.&lt;/p&gt;

&lt;h4&gt;
  
  
  Main features
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;VS Code style syntax highlighting&lt;/strong&gt;: Provides a clear and easy to read document interface.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5Caz2XwN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ua15etzfqmh4nktijxpv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5Caz2XwN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ua15etzfqmh4nktijxpv.png" alt="doc-ui" width="800" height="567"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automatically generate forms&lt;/strong&gt;: The API in the document can directly generate forms, making it easy to test and demonstrate.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Type Optimization&lt;/strong&gt;: Specific types (such as dates and enumerations) will be automatically converted to corresponding UI elements, such as date picker and drop-down selector.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--03hhlKIy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tqx7rl3av1rh2ceh417e.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--03hhlKIy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tqx7rl3av1rh2ceh417e.gif" alt="form" width="800" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  @tealina/doc-types: A type package designed for conversion.
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;@tealina/doc-types&lt;/code&gt; is a type package designed specifically for conversion tools. It provides a series of type definitions that enable '@tealina/doc-ui' to effectively convert these types into user interface elements. You can also use it to generate other code or UI&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Tealina and its related toolkits provide developers with a complete set of solutions to improve the efficiency and type security of API development. Through automated code and document generation, as well as optimized user interface presentation, they greatly reduce development time and potential errors, while providing a smoother and more efficient development experience.&lt;/p&gt;

&lt;h3&gt;
  
  
  FYR
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://tealina.dev"&gt;Tealina&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/tealina/tealina"&gt;Github&lt;/a&gt;&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>fullstack</category>
    </item>
  </channel>
</rss>
