<?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: Peter Chan</title>
    <description>The latest articles on DEV Community by Peter Chan (@peterhychan).</description>
    <link>https://dev.to/peterhychan</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%2F358825%2F82a4e291-5813-4685-8023-14c499cf2b80.png</url>
      <title>DEV Community: Peter Chan</title>
      <link>https://dev.to/peterhychan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/peterhychan"/>
    <language>en</language>
    <item>
      <title>Hello GitHub Actions 2021</title>
      <dc:creator>Peter Chan</dc:creator>
      <pubDate>Thu, 09 Dec 2021 07:35:37 +0000</pubDate>
      <link>https://dev.to/peterhychan/hello-github-actions-2021-2f42</link>
      <guid>https://dev.to/peterhychan/hello-github-actions-2021-2f42</guid>
      <description>&lt;p&gt;This is my first attempt of GitHub Actions in 2021. Thanks DEV for giving me such a great motivations (I love stickers!) to learn GitHub Actions as a potential alternative of CI/CD. &lt;/p&gt;

&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Goal : this action just says Hi to the user when a commit is made&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;My workflow to complete this project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;keep track of the development process via Git &amp;amp; GitHub&lt;/li&gt;
&lt;li&gt;create a npm package&lt;/li&gt;
&lt;li&gt;install @actions/core and @actions/github packages&lt;/li&gt;
&lt;li&gt;add a index.js as the entry file with proper details included&lt;/li&gt;
&lt;li&gt;add a action.yml to define the steps on GitHub Actions&lt;/li&gt;
&lt;li&gt;create a new GitHub repo &amp;amp; commit the project to the repo&lt;/li&gt;
&lt;li&gt;add ./github/workflows/main.yml with proper details included to test whether the action works&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;NOTE: we need to upload node_modules to the GitHub repo&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;Wacky Wildcards&lt;/p&gt;

&lt;h3&gt;
  
  
  Link to Code
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--566lAguM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/peterhychan"&gt;
        peterhychan
      &lt;/a&gt; / &lt;a href="https://github.com/peterhychan/hey-github-actions"&gt;
        hey-github-actions
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      My first attempt on GitHub Actions
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
hey-github-actions&lt;/h1&gt;
&lt;p&gt;My first attempt on GitHub Actions&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/peterhychan/hey-github-actions"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://docs.github.com/en/actions"&gt;GitHub Actions Docs&lt;/a&gt;&lt;/p&gt;

</description>
      <category>actionshackathon21</category>
    </item>
    <item>
      <title>a Weather App with Monetization Feature</title>
      <dc:creator>Peter Chan</dc:creator>
      <pubDate>Wed, 20 May 2020 00:17:57 +0000</pubDate>
      <link>https://dev.to/peterhychan/a-weather-app-with-monetization-feature-517g</link>
      <guid>https://dev.to/peterhychan/a-weather-app-with-monetization-feature-517g</guid>
      <description>&lt;p&gt;[Instructions]: While I am still waiting for the free-trial account Coil, I am trying to build something basic but meaningful for experimenting with the Monetization API. &lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;a Simple Weather App with Monetization Feature&lt;/li&gt;
&lt;li&gt;Currently, if the Monetization API along Coil plugin at the client side is properly implemented, a "Thank you" message will be displayed&lt;/li&gt;
&lt;li&gt;If the client does not implement Monetization feature on his/her browser, the "Monetization Feature Available" message will be shown instead&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Submission Category:  Exciting Experiments
&lt;/h3&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_XQyg5Se--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/20/1NjWZQ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_XQyg5Se--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/20/1NjWZQ.png" alt="App"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Link to Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/peterhychan/mt-weatherapp-2020"&gt;Repo&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I built it
&lt;/h2&gt;

&lt;p&gt;I implement this application by React.js with Hooks. Realtime weather info is fetched on OpenWeather API. The Application is styled by CSS along with Bootstrap.&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Resources/Info
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://mt-weatherapp-2020.hoychanan.now.sh/"&gt;Deployed Demo on now.sh&lt;/a&gt;&lt;/p&gt;

</description>
      <category>gftwhackathon</category>
    </item>
    <item>
      <title>Mass SMS Messenger</title>
      <dc:creator>Peter Chan</dc:creator>
      <pubDate>Fri, 01 May 2020 06:50:01 +0000</pubDate>
      <link>https://dev.to/peterhychan/mass-sms-messenger-464j</link>
      <guid>https://dev.to/peterhychan/mass-sms-messenger-464j</guid>
      <description>&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Category Submission: Engaging Engagements
&lt;/h4&gt;

&lt;p&gt;I was recommended by a friend of mine for joining this Hackathon at around 9 pm today. I started the entire development process at around 9:30 pm. I tried to build something simple but useful for local businesses during the period of COVID-19. Therefore, I designed a Mass SMS Messager which allows the business owner to send an SMS to a large list of clients by their phone numbers provided. &lt;/p&gt;

&lt;h2&gt;
  
  
  Link to Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/peterhychan/twilio-hackathon"&gt;My GitHub Repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--M79G00Zq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/01/X0NSyT.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--M79G00Zq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/01/X0NSyT.png" alt="Intro"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The layout of the app&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KcBc3Pl1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/01/Nl0nxM.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KcBc3Pl1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/01/Nl0nxM.png" alt="Success"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If both correct phone numbers and valid content are provided, a SUCCESS alert will be provided. And we can check the SMS for confirmation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--a6UPw9H5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/01/PtasM7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--a6UPw9H5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://upload.cc/i1/2020/05/01/PtasM7.png" alt="Fail"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Else, a warning signal will be given. The user needs to update the content and/or phone number lists before sending another request.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I built it
&lt;/h2&gt;

&lt;p&gt;Backend - Node.js and Express.js&lt;br&gt;
Frontend - React.js (+ Styled by Bootstrap 4)&lt;br&gt;
Twilio SMS service&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Resources/Info
&lt;/h2&gt;

&lt;p&gt;This is my first time dealing with Twilio API. Therefore, I only have a very limited understanding of its services. After playing around just with the SMS API, I can feel the power of Twilio. It makes the life of developers easier.  &lt;/p&gt;

&lt;p&gt;Thanks Twilio for the promo code which I will definitely make good use of it to feel the power of Twilio services over this weekend. &lt;/p&gt;

&lt;p&gt;Stay Safe everyone !&lt;/p&gt;

</description>
      <category>twiliohackathon</category>
    </item>
  </channel>
</rss>
