<?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>Forem: Thanawat Yodnil</title>
    <description>The latest articles on Forem by Thanawat Yodnil (@littleboycoding).</description>
    <link>https://forem.com/littleboycoding</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%2F523810%2F320146e2-081a-4a24-93cc-a34b4d160e17.jpeg</url>
      <title>Forem: Thanawat Yodnil</title>
      <link>https://forem.com/littleboycoding</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/littleboycoding"/>
    <language>en</language>
    <item>
      <title>Write Letter Submission - DigitalOcean App Platform Hackathon</title>
      <dc:creator>Thanawat Yodnil</dc:creator>
      <pubDate>Sun, 10 Jan 2021 12:27:22 +0000</pubDate>
      <link>https://forem.com/littleboycoding/write-letter-submission-digitalocean-app-platform-hackathon-571k</link>
      <guid>https://forem.com/littleboycoding/write-letter-submission-digitalocean-app-platform-hackathon-571k</guid>
      <description>&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;Write Letter - where you can write and talk about anything freely openly and anonymously.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  App Link
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://write-letter-ay2j8.ondigitalocean.app/"&gt;https://write-letter-ay2j8.ondigitalocean.app/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mVxCYOn_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/xjorwhcpk0wern5dma9q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mVxCYOn_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/xjorwhcpk0wern5dma9q.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yXK40pxT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/iwz4dintgzmb3tman0oi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yXK40pxT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/iwz4dintgzmb3tman0oi.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--j56hpWCK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/nvrlm048hb0bkxa76m0u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--j56hpWCK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/nvrlm048hb0bkxa76m0u.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Description
&lt;/h3&gt;

&lt;p&gt;Write Letter is web app that allow anyone to write and talk about anything openly and anonymously&lt;/p&gt;

&lt;p&gt;Write Letter has difference from other is that Write Letter have no grouping for each letter (except hashtag) the idea is to get peoples start talking.&lt;/p&gt;

&lt;h4&gt;
  
  
  Features
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;No Sign-Up required&lt;/li&gt;
&lt;li&gt;Write anything, just be polited&lt;/li&gt;
&lt;li&gt;2 types of writing (see below)&lt;/li&gt;
&lt;li&gt;Dark/Light mode&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Writing Types
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Post: just normally posting it visible publicly to anyone&lt;/li&gt;
&lt;li&gt;Paper Plane: unlike normal posting, it get send to randomly to one stranger !&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Client: &lt;a href="https://github.com/littleboycoding/write-letter"&gt;https://github.com/littleboycoding/write-letter&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GraphQL (Apollo): &lt;a href="https://github.com/littleboycoding/write-letter-apollo"&gt;https://github.com/littleboycoding/write-letter-apollo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Permissive License
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://opensource.org/licenses/MIT"&gt;MIT License&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Background
&lt;/h2&gt;

&lt;p&gt;I'm gonna be honnest, at first I was meant to create app for those who looking for people with same interested.&lt;/p&gt;

&lt;p&gt;Why ? because at college I was unable to talk to anyone, they are unlike me, I want to have a team or group with same interested in web development to start developing some stuff !.&lt;/p&gt;

&lt;p&gt;But I found out that there are many great tools for that out there.&lt;/p&gt;

&lt;p&gt;Then it turn out became Write Letter !&lt;/p&gt;

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

&lt;p&gt;I used DigitalOcean as Static Site hosting and as GraphQL API server with MongoDB Atlas as Database. Along the way I learnt a lot of new stuff ! the list are&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GraphQL with Apollo&lt;/li&gt;
&lt;li&gt;MongoDB with and not with MongoDB Atlas&lt;/li&gt;
&lt;li&gt;React (with typescript)&lt;/li&gt;
&lt;li&gt;YAML syntax&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;There are GraphQL API for developer to integrated with my app !&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://write-letter-ay2j8.ondigitalocean.app/apollo"&gt;Lived URL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/littleboycoding/33a77e24921cdc750c2cef6a6c7af882"&gt;SDL&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can deploy to your own DigitalOcean's App Platform with one click button below&lt;/p&gt;

&lt;h3&gt;
  
  
  For client
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://cloud.digitalocean.com/apps/new?repo=https://github.com/littleboycoding/write-letter/tree/master"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iIBAgYni--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.deploytodo.com/do-btn-blue.svg" alt="Deploy to DO"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  For server
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://cloud.digitalocean.com/apps/new?repo=https://github.com/littleboycoding/write-letter-apollo/tree/main"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iIBAgYni--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.deploytodo.com/do-btn-blue.svg" alt="Deploy to DO"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I also created timelapse of creation progress, &lt;a href="https://www.youtube.com/watch?v=pD3KuT2LQPw&amp;amp;list=PLQr5jU29HY0Z4ZXI6FXSHfIvYr4WGOajO"&gt;playlist are here&lt;/a&gt;&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/pD3KuT2LQPw"&gt;
&lt;/iframe&gt;
&lt;br&gt;
I've used small script which I wrote myself, it can record and compile into timelapse video check it out &lt;a href="https://github.com/littleboycoding/timelapse"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you very much for this hackathon I learn a lot along the way, Sorry for my bad english, I'm still learning it.&lt;/p&gt;

</description>
      <category>dohackathon</category>
    </item>
    <item>
      <title>Write Letter #4 Finally theming, hashtag system, tweaking UI/UX </title>
      <dc:creator>Thanawat Yodnil</dc:creator>
      <pubDate>Sun, 10 Jan 2021 12:27:12 +0000</pubDate>
      <link>https://forem.com/littleboycoding/write-letter-4-finally-theming-hashtag-system-tweaking-ui-ux-15e2</link>
      <guid>https://forem.com/littleboycoding/write-letter-4-finally-theming-hashtag-system-tweaking-ui-ux-15e2</guid>
      <description>&lt;h1&gt;
  
  
  This is final part of Write Letter retouching welcome page, added light and dark theme and hashtag system !
&lt;/h1&gt;

&lt;h4&gt;
  
  
  First, I'm glad to say that this gonna be the final part of series !
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/LMQgs60HFzAfdZYKtn/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/LMQgs60HFzAfdZYKtn/giphy.gif" alt="Glad sonic"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Developer love dark mode isn't it ? So I implemented dark/light theme into my app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FyfOrNUI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/bp7iomg0y4if51ts1d24.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FyfOrNUI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/bp7iomg0y4if51ts1d24.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Gonan be honest at first I was meant to add more theme or even custom color (you choose it !).&lt;/p&gt;

&lt;p&gt;Also at first I also want to add background changing system too but that make it look strange somehow...&lt;/p&gt;

&lt;p&gt;Alright enough for theming, now hashtag system, just like hashtag system on facebook or twitter it allow anyone to look up for letter with matching hashtag.&lt;/p&gt;

&lt;p&gt;And lastly just some minor tweaking to UI like better loading spinner, animationing&lt;/p&gt;

&lt;h3&gt;
  
  
  Remark what we've archived
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Theme&lt;/li&gt;
&lt;li&gt;Hashtag&lt;/li&gt;
&lt;li&gt;Better UI/UX&lt;/li&gt;
&lt;li&gt;Minnor bug fixed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's it for this series, Thanks for reading along here ! I've deployed this app to &lt;a href="//digitalocean.com"&gt;DigitalOcean&lt;/a&gt; which is lived &lt;a href="https://write-letter-ay2j8.ondigitalocean.app/"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Source code can be found here
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Client: &lt;a href="https://github.com/littleboycoding/write-letter"&gt;https://github.com/littleboycoding/write-letter&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Server: &lt;a href="https://github.com/littleboycoding/write-letter-apollo"&gt;https://github.com/littleboycoding/write-letter-apollo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Timelapse
&lt;/h3&gt;

&lt;p&gt;Check out my timelapse tool &lt;a href="https://github.com/littleboycoding/timelapse"&gt;https://github.com/littleboycoding/timelapse&lt;/a&gt;&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Xf4wfpMTHV8"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>dohackathon</category>
      <category>typescript</category>
      <category>graphql</category>
      <category>react</category>
    </item>
    <item>
      <title>Write Letter #3 Pagination, Paper Plane mode, Commenting !</title>
      <dc:creator>Thanawat Yodnil</dc:creator>
      <pubDate>Sun, 10 Jan 2021 12:27:04 +0000</pubDate>
      <link>https://forem.com/littleboycoding/write-letter-3-pagination-paper-plane-mode-commenting-20f6</link>
      <guid>https://forem.com/littleboycoding/write-letter-3-pagination-paper-plane-mode-commenting-20f6</guid>
      <description>&lt;h2&gt;
  
  
  In this part I'm implmenting pagnination to reduce data overload add new writing mode (paper plane) and finally commenting !
&lt;/h2&gt;

&lt;p&gt;I have to say pagination is very important for app like this one, because if user load all data from database at once, that's gonna be big problem&lt;/p&gt;

&lt;p&gt;So, I decied to create pagination for letter and comment to help to reduce data overload&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2SDHDyeZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/9j17vp1pm48w1rqajv29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2SDHDyeZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/9j17vp1pm48w1rqajv29.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before went for Paper plane writing type I want to implement comment system first&lt;/p&gt;

&lt;h4&gt;
  
  
  What is paper plane ?
&lt;/h4&gt;

&lt;p&gt;As described in first part of this series, paper plane is writing mode that is not publicly visible to anyone but randomly one stranger will catch it !&lt;/p&gt;

&lt;h3&gt;
  
  
  Remark who do we got in this part
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Pagnination&lt;/li&gt;
&lt;li&gt;Comment&lt;/li&gt;
&lt;li&gt;Paper Plane&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Timelapse
&lt;/h3&gt;

&lt;p&gt;Check out my timelapse tool &lt;a href="https://github.com/littleboycoding/timelapse"&gt;https://github.com/littleboycoding/timelapse&lt;/a&gt;&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/C2FJwcg2maM"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>dohackathon</category>
      <category>typescript</category>
      <category>graphql</category>
      <category>react</category>
    </item>
    <item>
      <title>Write Letter #2 Database, GraphQL, Basic CRUD Operation</title>
      <dc:creator>Thanawat Yodnil</dc:creator>
      <pubDate>Sun, 10 Jan 2021 12:26:54 +0000</pubDate>
      <link>https://forem.com/littleboycoding/write-letter-2-database-graphql-basic-crud-operation-maf</link>
      <guid>https://forem.com/littleboycoding/write-letter-2-database-graphql-basic-crud-operation-maf</guid>
      <description>&lt;h3&gt;
  
  
  In this part I continued to implement Database, GraphQL and get start with some basic CRUD
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Andddd this is my first time with Apollo and MongoDB.
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/QTs10Q1r0XSFqVc561/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/QTs10Q1r0XSFqVc561/giphy.gif" alt="Apollo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But surprizingly the process is very straightforward. Such a nice tool !&lt;/p&gt;

&lt;p&gt;I also tweak some UI/UX and responsiveness !&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kZ6a5iT_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/q84oqailc371pel3x7hi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kZ6a5iT_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/q84oqailc371pel3x7hi.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At the end I got basic posting working !&lt;/p&gt;

&lt;h3&gt;
  
  
  Let's remark what we've got this part
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;MongoDB Setup&lt;/li&gt;
&lt;li&gt;Apollo&lt;/li&gt;
&lt;li&gt;Responsiveness of app&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's it for this part, Thanks for reading !&lt;/p&gt;




&lt;h3&gt;
  
  
  Timelapse
&lt;/h3&gt;

&lt;p&gt;Check out my timelapse tool &lt;a href="https://github.com/littleboycoding/timelapse"&gt;https://github.com/littleboycoding/timelapse&lt;/a&gt;&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Q1oWUfWoIqs"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>dohackathon</category>
      <category>typescript</category>
      <category>react</category>
      <category>graphql</category>
    </item>
    <item>
      <title>Write Letter #1 Prototyping</title>
      <dc:creator>Thanawat Yodnil</dc:creator>
      <pubDate>Sun, 10 Jan 2021 12:26:44 +0000</pubDate>
      <link>https://forem.com/littleboycoding/write-letter-1-prototyping-240c</link>
      <guid>https://forem.com/littleboycoding/write-letter-1-prototyping-240c</guid>
      <description>&lt;h2&gt;
  
  
  In first part, I'm going to setup my project for Write Letter, but first let me explain you what is Write Letter.
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is Write Letter ?
&lt;/h3&gt;

&lt;p&gt;well, write letter is little web app which allow anyone to write anything openly and anonymously no sign up required&lt;/p&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;No Sign-Up required&lt;/li&gt;
&lt;li&gt;Write anything, just be polite&lt;/li&gt;
&lt;li&gt;Comment (ofc)&lt;/li&gt;
&lt;li&gt;2 type of writing types "post" and "paper plane" (detail below)&lt;/li&gt;
&lt;li&gt;Dark/Light Mode !&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Type of posting
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Post is just normally post to writing board so anyone can see&lt;/li&gt;
&lt;li&gt;Paper plane is not publicly see by anyone but randomly stranger will catch it&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Technologies stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;ReactJS&lt;/li&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;MongoDB&lt;/li&gt;
&lt;li&gt;GraphQL (Apollo)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In first part I start my React project with create-react-app (typescript template) (cuz is good)&lt;/p&gt;

&lt;p&gt;Mostly I just prototyping my app in this part and created basic name input&lt;br&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--m5GNcwlk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/8xo2sb9av5wpi7kkx5g5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--m5GNcwlk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/8xo2sb9av5wpi7kkx5g5.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all for first part, thanks for reading !&lt;/p&gt;


&lt;h3&gt;
  
  
  Timelapse
&lt;/h3&gt;

&lt;p&gt;I also created timelapse tool which I called &lt;a href="https://github.com/littleboycoding/timelapse"&gt;"timelapse"&lt;/a&gt; you can use it to captur screen and compile it for timelapse, check it out !&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/pD3KuT2LQPw"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>dohackathon</category>
      <category>react</category>
      <category>graphql</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
