<?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: Gideon Olayode</title>
    <description>The latest articles on DEV Community by Gideon Olayode (@gideonsdev).</description>
    <link>https://dev.to/gideonsdev</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%2F967058%2Fd7fe46c7-0179-4f82-b4e1-a3ed36bca66b.jpeg</url>
      <title>DEV Community: Gideon Olayode</title>
      <link>https://dev.to/gideonsdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gideonsdev"/>
    <language>en</language>
    <item>
      <title>How easy is full stack web development with Deno? 🦕- 1</title>
      <dc:creator>Gideon Olayode</dc:creator>
      <pubDate>Thu, 10 Nov 2022 02:18:51 +0000</pubDate>
      <link>https://dev.to/gideonsdev/how-easy-is-full-stack-web-development-with-deno-1-dm1</link>
      <guid>https://dev.to/gideonsdev/how-easy-is-full-stack-web-development-with-deno-1-dm1</guid>
      <description>&lt;p&gt;It is quite certain that you have been hearing a lot about &lt;strong&gt;Deno&lt;/strong&gt;, and possibly you still don't know what &lt;strong&gt;Deno&lt;/strong&gt; is or how it functions. It is good you have made your way here, because in this article, I will endeavour to teach you all you need to know about &lt;strong&gt;Deno&lt;/strong&gt;, also, you will learn how to create and deploy a full-stack website application on &lt;strong&gt;Deno&lt;/strong&gt; in minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Contents
&lt;/h2&gt;

&lt;p&gt;
  Requirements
  &lt;p&gt;- Basic requirements for &lt;strong&gt;Deno&lt;/strong&gt; development &lt;/p&gt;

&lt;br&gt;

  Definitions &amp;amp; Statements
  &lt;p&gt;- Defining &lt;strong&gt;Deno&lt;/strong&gt; and its conceptual properties. &lt;/p&gt;

&lt;br&gt;

  Coding
  &lt;p&gt;- Hands-on coding activities using TypeScript. &lt;/p&gt;

&lt;br&gt;

  Deployment
  &lt;p&gt;Utilising &lt;strong&gt;Deno's&lt;/strong&gt; serverless git deployment. Deploy via GitHub.&lt;/p&gt;

&lt;/p&gt;

&lt;h2&gt;
  
  
  Requirements &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;In order to archive the stated goal of creating and deploying a full-stack website application using &lt;strong&gt;Deno&lt;/strong&gt;, you are required to have the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Little or an Intuitive knowledge of JavaScript or TypeScript. &lt;a href="https://dev.tourl"&gt;Learn more about TypeScript here!&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;New or Existing GitHub Account. &lt;a href="https://dev.tourl"&gt;Get a GitHub account here!&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deno&lt;/strong&gt; installed on your personal computer. &lt;a href="https://deno.land/"&gt;Install &lt;strong&gt;Deno&lt;/strong&gt; here!&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With factual acquisition of the above requirements, I trust we are ready to realise and obtain the full power of &lt;strong&gt;Deno&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is &lt;strong&gt;Deno&lt;/strong&gt; ? &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;The existence of &lt;strong&gt;Deno&lt;/strong&gt; has brought about a state of contemplation for most Web Developers using &lt;strong&gt;NodeJs&lt;/strong&gt;, whether or not they switch stacks or utilise either stacks in their development processes. It cannot be denied that one of the major reasons why &lt;strong&gt;NodeJs&lt;/strong&gt; has been so successful is the large number of packages that can be downloaded and utilised in a project. If you are considering switching to &lt;strong&gt;Deno&lt;/strong&gt;, you may be wondering if you would have to give up all the NPM packages you know and love.&lt;/p&gt;

&lt;p&gt;The short answer is: no. While you may not be able to utilise some NPM packages in &lt;strong&gt;Deno&lt;/strong&gt; if they rely on &lt;strong&gt;NodeJs APIs&lt;/strong&gt; (especially if the specific APIs are not supported in &lt;strong&gt;Deno's&lt;/strong&gt; &lt;strong&gt;NodeJs&lt;/strong&gt; compatibility layer), many NPM packages can be utilised in &lt;strong&gt;Deno&lt;/strong&gt; through CDNs like &lt;a href="https://esm.sh/"&gt;esm.sh&lt;/a&gt; and &lt;a href="https://www.skypack.dev/"&gt;skypack.dev&lt;/a&gt;. Both these CDNs provide NPM packages as ES Modules that can be subsequently consumed in a &lt;strong&gt;Deno&lt;/strong&gt; script even if the author of the package did not design it to target &lt;strong&gt;Deno&lt;/strong&gt; specifically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deno&lt;/strong&gt; is a simple, modern and secure runtime for JavaScript, TypeScript, and WebAssembly that uses V8 and is built in Rust. It is secure by default, and is a drastic improvement on NodeJs, having major constant improvements 👀. &lt;a href="https://dev.tourl"&gt;Read more about the differences and similarities between &lt;strong&gt;Deno&lt;/strong&gt; and &lt;strong&gt;NodeJs&lt;/strong&gt;&lt;/a&gt;. This means that &lt;strong&gt;Deno&lt;/strong&gt; provides the latest and greatest in web technologies in a globally scalable way, It possesses a lot of new features that are even yet to be discovered. Daily, we have software engineers and developers building benefiting innovations on &lt;strong&gt;Deno&lt;/strong&gt;🦕. You should consider to checkout and follow &lt;a href="https://twitter.com/deno_land"&gt;@deno_land&lt;/a&gt; on Twitter for major updates and informations.&lt;br&gt;
&lt;/p&gt;
&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fXIv5Kbb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/FgK33O5VEAAP_et.jpg" alt="unknown tweet media content"&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--_fZkb2_X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1267819337026420739/GBuq7wjs_normal.jpg" alt="Deno profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Deno
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        @deno_land
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      be careful what you run on your computer... 💀 &lt;a href="https://t.co/T2XNQADEAm"&gt;twitter.com/i/web/status/1…&lt;/a&gt; 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      16:28 PM - 28 Oct 2022
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1586032184019648512" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1586032184019648512" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1586032184019648512" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;p&gt;&lt;a href="https://fresh.deno.dev/"&gt;&lt;strong&gt;Fresh&lt;/strong&gt;&lt;/a&gt; is considered "The next-gen web framework", built for speed, reliability, and simplicity on &lt;strong&gt;Deno&lt;/strong&gt;. It is an edge-first web framework that delivers zero JavaScript to the client by default with no build step. It is optimised for speed and, when hosted on the edge with &lt;a href="https://deno.com/deploy"&gt;Deno Deploy&lt;/a&gt;, can be fairly trivial to get a perfect Lighthouse page-speed score.&lt;/p&gt;

&lt;p&gt;With &lt;a href="https://fresh.deno.dev/"&gt;&lt;strong&gt;Fresh Deno&lt;/strong&gt;&lt;/a&gt;🍋, you literally have every tool required for your web development and deployment processes. It offers fast &amp;amp; improved production development and deployment, website SEO(website traffic), webpage navigation/routing, custom webpage middleware handlers, both front-end and back-end implementations, and so on with no configuration necessary. &lt;strong&gt;Deno&lt;/strong&gt; has an endless list of befitting offers to your development process.&lt;/p&gt;

&lt;p&gt;Having knowing a few of many &lt;strong&gt;Deno&lt;/strong&gt; capabilities, I will proceed to develop a simple &lt;strong&gt;Community and Blog&lt;/strong&gt; website, of which its users can communicate seamlessly in respective communities, create and share contents, you will also learn how to push and deploy a code repository using GitHub with &lt;a href="https://deno.com/deploy"&gt;&lt;strong&gt;Deno Deploy&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Developing a simple Community and Blog website using Fresh Deno framework. &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;To begin development, confirm that you have &lt;strong&gt;Deno&lt;/strong&gt; installed properly by launching your terminal or command line interface and run the following command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;deno --version&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If this prints the &lt;strong&gt;Deno&lt;/strong&gt; version to the console the installation was successful. Voila!, we can proceed to get started!.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bootstrap a new project
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Simply run &lt;code&gt;deno run -A -r https://fresh.deno.dev simple-commblog-webapp&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select yes for Tailwind and VSCode (Recommended).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change directory into the new project, run &lt;code&gt;cd simple-commblog-webapp&lt;/code&gt;, then run &lt;code&gt;deno task start&lt;/code&gt; to start and view the default web app on a web browser.&lt;br&gt;

  View image of default web app
  &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PL74qbKt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://deno.com/build-a-blog-with-fresh/default-fresh-app.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PL74qbKt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://deno.com/build-a-blog-with-fresh/default-fresh-app.png" width="880" height="595"&gt;&lt;/a&gt; 

&lt;br&gt;
Good work!&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Update the project directory structure
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;Fresh Deno&lt;/strong&gt; init script scaffolds a comprehensive web app directory. So let us make a few modifications to it to fit the purposes of a community and blog.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;simple-commblog-webapp/
├── .vscode
├── components
├── islands
├── routes
├── static
├── deno.json
├── dev.ts
├── fresh.gen.ts
├── import_map.json
├── main.ts
├── README.md
└── twins.config.ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Continue reading on next post, &lt;a href=""&gt;How easy is full stack web development with Deno? 🦕- 2&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>deno</category>
      <category>fullstack</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
