<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by neennera on Medium]]></title>
        <description><![CDATA[Stories by neennera on Medium]]></description>
        <link>https://medium.com/@neennera?source=rss-817e38431c7b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tkkQhEKlVhENRoJsj0nFdg.jpeg</url>
            <title>Stories by neennera on Medium</title>
            <link>https://medium.com/@neennera?source=rss-817e38431c7b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 09:48:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@neennera/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Tried to Make Easy Money with a Valentine’s Website]]></title>
            <link>https://neennera.medium.com/i-tried-to-make-easy-money-with-a-valentines-website-8c74f5c9bfd8?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c74f5c9bfd8</guid>
            <category><![CDATA[website]]></category>
            <category><![CDATA[valentines]]></category>
            <category><![CDATA[vibe-code]]></category>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Sat, 21 Feb 2026 07:02:42 GMT</pubDate>
            <atom:updated>2026-02-21T07:02:42.562Z</atom:updated>
            <content:encoded><![CDATA[<p>During Valentine’s season, I got inspired by TikTok and kept seeing people making cute websites for their partners. That sparked an idea: could this be easy money?</p><blockquote>So I decided to test a simple assumption<br><strong>Can you “vibe code” small, minimal websites and sell them as a side income?</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*It4MYAW8_Rxk32ypkt2Qxg.jpeg" /></figure><p>I built the most bare-minimum product possible:<br>a frontend connected to a SQL database with just <strong>one table</strong>. Nothing fancy.</p><p>I spent about <strong>5 hours wrestling with Claude Opus 4.5</strong>, and eventually got a simple site up and running. I deployed it for free using <strong>Vercel and Render</strong>.<br>The site was finished on February 11, and I posted <strong>4 TikTok clips</strong> to promote it.</p><p>All in, I spent around <strong>8 hours</strong> total and officially launched the site on <strong>February 10</strong>.</p><p>And the grand result? <strong>Six paying customers. Exactly six.</strong></p><h3>Why It Didn’t Take Off</h3><p>Honestly, I think it’s because this market is already <strong>deep red</strong>. There are tons of people doing similar Valentine’s websites, and I launched pretty late. Plus I don’t have an existing fandom or audience. So low sales weren’t that surprising.</p><p>That said, I <em>did</em> have one advantage.</p><p>I built a <strong>self-service create page</strong> where customers could generate their page and fill in all the details themselves. My job was just to activate it in the back office.<br>No manual code edits. No copying data from Google Forms like many other creators do.</p><p>From a seller’s perspective, this saved a <em>lot</em> of time.<br>I didn’t even need a laptop, I could manage everything from my phone.</p><h3>The Worst 97 Baht I’ve Ever Spent</h3><p>On the night of <strong>February 13</strong>, I decided to try TikTok ads.</p><p>Budget: <strong>97 baht</strong>.</p><p>Worst decision ever.</p><p>First lesson learned:<br>You <strong>can’t use Thai love songs</strong> or popular romantic tracks for ad creatives.</p><p>I was half asleep and just accepted TikTok’s default music — some generic “vibes” track.<br>Turns out it was loud, graphic, EDM-style music with <strong>zero taste</strong>.</p><p>And the problem is…<br><strong>A love website sells <em>taste</em>.</strong> 😭😭</p><h3>The Results After Running Ads</h3><p>After running ads, my <strong>conversion rate dropped immediately</strong>.</p><ul><li>Before ads: total sales = 6</li><li>After ads: February 14: only <strong>2 sales</strong></li></ul><p>Now, to be fair, this wasn’t a proper A/B test.<br>It could’ve been Valentine’s Day timing, user behavior, bad luck - who knows.</p><p>But one thing became very clear:</p><blockquote><strong>Organic growth takes forever, but the conversion rate is way better.</strong></blockquote><h3>Final Numbers from This Experiment</h3><ul><li>Website revenue: <strong>8 × 39 = 312 baht</strong></li><li>Ad cost: <strong>97 baht</strong></li><li>Net profit: <strong>312 − 97 = 215 baht</strong></li><li>Time spent: <strong>~8 hours</strong></li></ul><p><strong>Hourly rate:<br></strong>215 ÷ 8 ≈ <strong>26 baht per hour</strong></p><h3>Conclusion</h3><p>Starving on Valentine’s Day.<br>Absolutely romantic. 💀💔</p><p>But hey, at least the experiment worked.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c74f5c9bfd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DooDoung เว็บเพื่อหมอดูและลูกดวง]]></title>
            <link>https://neennera.medium.com/doodoung-sprint-1-f2245dfdfefb?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2245dfdfefb</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[scrum]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Sat, 27 Sep 2025 08:22:03 GMT</pubDate>
            <atom:updated>2026-01-01T07:21:53.928Z</atom:updated>
            <content:encoded><![CDATA[<p>โปรเจคนี้เป็นส่วนนึงของวิชา software engineering ในภาค CP วิศวะคอมปีสาม</p><p>ซึ่งทีมพวกเราได้จัดการ 56 tasks in JIRA รวมเป็น 14 user stories ภายในเวลา 7 วีค!!</p><h4><strong>Goal ของ sprint นี้</strong></h4><p>เราโฟกัสสองอย่าง 1) project setup และ 2) account management</p><p>ซึ่งมี achievements สามอย่าง แยกตามแต่ละฝ่าย ประกอบด้วย</p><ul><li>ทำ design token. ตั้งแต่ atomic ยัน global component ใน Figma</li><li>วาง backend clean architecture ในตัว Nest.js life cycle แล้วก็แยก API module</li><li>ทำ frontend working demo ในหน้า register, login, account, และ transaction page</li></ul><h4><strong>UXUI design token</strong></h4><p>อันนี้น่าจะเป็นส่วนที่ภูมิใจมากที่สุด โปรเจคนี้เราวางธีมตั้งแต่แรกแล้วยึดมั่นในการใช้ token มาก</p><p>ทุกๆสีจะต้องมาจาก variable ที่ set ไว้ ไม่จิ้มใหม่ ทุกๆ component จะต้องมีการใช้ molecular component มาประกอบสร้าง</p><p>ทีม UXUI ทั้งสามคน ทำงานดีไซต์ออกมาสวยและเข้าธีมสุดๆ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l_VIKnvC7jTQ2eOFF-5vRA.png" /></figure><h4><strong>Backend &amp; Frontend</strong></h4><p>ไม่ต่างจาก UXUI ฝั่ง Dev ในส่วนของการเดฟ เราตั้งใจจะวาง best practise structure กัน</p><p><strong>ส่วน frontend </strong>ทุกอย่างแยกเป็น component ที่ปรับแค่ varient, จัด layout แต่ละ page ให้ custom ง่ายๆ เพื่อการ dev ที่พาภาพ design ออกมาได้ตรงแบบที่สุด</p><p><strong>ฝั่ง backend </strong>เราทำ clean architecture แยก layer ของ controller, service, repo, etc. แล้วก็มีการทำ data seeding เตรียมไว้พร้อม!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZCAetJyrdDFDiKyMJW0jsQ.png" /></figure><p>อีกส่วนที่ชอบ คือการรีวิวงาน แค่ใน 1 sprint เราทำ PR ไปแล้ว 40 กว่าอัน แต่ละอันบอกได้เลยว่าทุกคนคุมคุณภาพงานสุดๆ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a4unweNHqln3cw3gyrDOPA.png" /></figure><p>และที่สำคัญ เราทำถ่ายงาน + ช่วยแก้บัคกันบ่อยมากก โคตรจะ dream team in development</p><h4><strong>Team</strong></h4><p>พวกเราทำงานกับแบบ SCRUM ที่นัด weekly meenting ทุกๆวันอังคารและเสาร์ ซึ่งสมาชิกในทีมทุกคนให้กับงานนี้สุดๆ</p><p>แม้ทีมจะใหญ่ถึง 10 คน แถมแต่ละคนเป็นคนที่ทำงานคณะมากๆ แต่เราก็มีการเข้าประชุมครบทุกครั้ง แถมงานก็เดิมตลอดเวลา ไม่มีสะดุดตลอดช่วงเดือนครึ่งที่ผ่านมา !</p><p>จุดที่ภูมิใจที่สุด คงเป็นคือก่อนพรีเซนต์ ที่ทุกคนมาช่วยกัน integrate all function ตั้งแต่สองทุ่มจนตีสอง</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*lCadGgWIMFE1bAr771IFrw.png" /></figure><p>เราในฐานะ PM ที่ช่วยประสานให้ทุกทีมย่อยทำงานไปด้วยกัน พอเห็นเพื่อนๆมีไฟแบบนี้ มันช่าง fullfill หัวใจสุดๆ!!</p><p>Let move to next sprint together ❤️‍🔥❤️‍🔥❤️‍🔥</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2245dfdfefb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons from iTAX (P. Mickey)]]></title>
            <link>https://neennera.medium.com/lessons-from-imax-p-mickey-ce2879d91308?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce2879d91308</guid>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 10:35:58 GMT</pubDate>
            <atom:updated>2025-09-09T10:36:21.329Z</atom:updated>
            <content:encoded><![CDATA[<p>P. Mickey was “GlobalVenture” class’s special speaker in class 4. I collect some part of the lecture to write down in here</p><p>I felt like I am motivate, expescially from the quote</p><blockquote>built think that feels like <strong>only you can make it happen</strong></blockquote><h4>1. Choose a Hard Startup</h4><p>Hard problems usually have fewer competitors. Most people will say, “Let them try, they’ll fail anyway.”</p><p>If it fails, you are still young and will gain valuable experience. Growth never happens in the comfort zone.</p><h4>2. Understand Product-Market Fit</h4><p>Product-Market Fit is not the same as Problem-Solution Fit.</p><p>A product that people buy may not solve every problem perfectly, but what matters is that the market wants it.</p><h4>3. Human Behavior = Motivation + Ability + Trigger</h4><p>Make things as simple as possible. If it’s too hard, people won’t do it.</p><h4>4. Market Adoption Takes Stages</h4><p>Mass market is the hardest to reach. It only comes after innovators and early adopters prove demand.</p><p>The adoption curve moves step by step: Innovator → Early Adopter → Early Majority → Late Majority → Laggards.</p><h4>5. Three Key Startup Topics</h4><ul><li>Make something a lot of people want</li><li>Know your first 1,000 customers</li><li>Play your game with unfair advantage</li></ul><p>Startups are not about being comfortable. They are about to fight for your passion !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce2879d91308" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Know Your FISH & Angel!!]]></title>
            <link>https://neennera.medium.com/know-your-fish-angel-e5f3fd4b238a?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5f3fd4b238a</guid>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Tue, 09 Sep 2025 10:16:50 GMT</pubDate>
            <atom:updated>2025-09-09T10:16:50.323Z</atom:updated>
            <content:encoded><![CDATA[<p>In “GlobalVenture” class we learn about FISH, we learn about Angel !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Z_PnDjE4KJd5Vrjvzb2Hw.png" /></figure><p>No… Not the angel holding a fish. There are my 2 favorite topic I want to share about.</p><h3>What is the FISH framework?</h3><p>F — Financial Capital</p><ul><li>how to find money = revenue, investment, funding</li><li>some money is not given to you, you must use ability to access them</li></ul><p>I — Intellectual Capital</p><ul><li>industry-specific knowledge, region insight</li><li>ex : butterbear product collaboration, Ichitan ‘Thai Mile Tea’ popular in Indonesia &gt; Thailand/</li></ul><p>S — Social Capital</p><ul><li>network &amp; reputation</li><li>utilize what you have, build what you don’t have</li></ul><p>H — Human Capital</p><ul><li>team, building/finding talent</li><li>human is both hiring &amp; open source contributor like Google</li></ul><p>In my opinion, the most challenging part here is <strong>human capital</strong>. Finding good people and building trust within a team might takes a lot of time!</p><h3>What is the Angel Customer?</h3><p>They are existing customer who helps a company expand into a new market. Can be a potential business partner.</p><p>And.. how to expands the market? well.. we have this framework!</p><p><strong>Five-In strategy</strong></p><p>1. Input : identifying customers (Research Who &amp; Where are they)</p><p>2. Insight : understanding their behavior (What is customer journeys, how can we go deeper)</p><p>3. Inbound : finding customers who come to your location (test the market, ex: interview international friend)</p><p>4. International : seeking customers overseas (Go to their place, international events)</p><p>5. Interconnect : using existing networks (ex: international student club)</p><p>To me, the most practical step here is “<strong>Inbound</strong>.” Before thinking about going global, you should test with the international community first.</p><p>Now you know what is FISH, what is Angel.</p><p>Try to use them in your next business analysis !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5f3fd4b238a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[อะไรนะ พรุ่งนี้ไป Techsauce หรอ !?]]></title>
            <link>https://neennera.medium.com/%E0%B8%AD%E0%B8%B0%E0%B9%84%E0%B8%A3%E0%B8%99%E0%B8%B0-%E0%B8%9E%E0%B8%A3%E0%B8%B8%E0%B9%88%E0%B8%87%E0%B8%99%E0%B8%B5%E0%B9%89%E0%B9%84%E0%B8%9B-techsauce-%E0%B8%AB%E0%B8%A3%E0%B8%AD-80620a81c1b9?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/80620a81c1b9</guid>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 09:16:53 GMT</pubDate>
            <atom:updated>2025-08-07T09:16:53.915Z</atom:updated>
            <content:encoded><![CDATA[<h3>อะไรนะ พรุ่งนี้ไป Techsauce หรอ !?</h3><p>“รู้ไหมเนี่ย ว่าพรุ่งนี้จะต้องไปงาน Techsauce ตอน 9 โมง”</p><p>หลังจากที่พี่แคสเปอร์ อาจารย์พิเศษของคาบวิชาเสริมพูดจบ เรากับเพื่อนก็หันหน้ามองกันด้วยสีหน้าเหวอทั้งคู่ ด้วยความที่คาบนี้เป็นวิชาเลือกพิเศษ (คาบนี้ เป็นคาบแรกของวิชาด้วยซ้ำ !) การที่รู้ว่าต้องเตรียมตัวไปงาน event ระดับโลกในเวลาไม่ถึง 24 ชั่วโมงเป็นเรื่องที่น่าตกใจไม่น้อย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*YKWWBiA9OYa_l2tH.jpg" /></figure><p>แต่การได้เข้างานฟรีใครๆก็ชอบ 🤩 ต้องขอขอบคุณทางทีมงาน Techsauce ที่ทำให้นักเรียนกว่า 30–40 คนทั้งคลาสสามารถไปร่วมงานได้</p><p>Main หลักที่เราไปร่วมงานในครั้งนี้ก็เพื่อที่จะไปร่วมฟัง session “<strong>Dear Founders: Why Startups Still Matter</strong>” ที่พูดโดย พี่แคสเปอร์ (อาจารย์พิเศษตอนต้นโพส) และ Mr. Rudiantara อดีตรัฐมนตรีว่าการกระทรวงการสื่อสารและเทคโนโลยีสารสนเทศแห่งสาธารณรัฐอินโดนีเซีย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v4s8Raz99iUHpqy6UC4sTw.png" /></figure><p>สิ่งที่ชอบและตกตะกอนได้จากการฟังครั้งนี้คือออ</p><blockquote>“Ask for Forgiveness, Not Permission.”</blockquote><p>คำพูดที่เราคิดว่าทรงพลังมาก (แต่ว่าการกระทำที่ Don’t Ask Permission นั้นจะต้องเป็นการกระทำที่ทำไปในเพื่อสิ่งที่ดีนะ) ที่คิดว่าเขาเลือกจะพูดคำนี้เพราะธุรกิจ startup เป็นธุรกิจที่ต้องไวและเติบโตในช่วงที่บางครั้งกฎหมายยังพัฒนาไปไม่ถึง การเลือกที่จะกล้าทำในสิ่งที่คนอื่นไม่กล้าทำไปก่อนมันทำให้เราได้เห็นโอกาสใหม่ๆในช่วงที่สังคมยังไม่ได้ตีกรอบว่าอะไรทำได้หรือทำไม่ได้</p><p>นอกจากนี้ยังชอบสารคาแรคเตอร์ที่เขาบอกว่าเหล่า Start Up Unicorn มักจะมีเหมือนกัน ได้แก่…</p><blockquote><strong>Young, Open-Minded, Risk-Taking</strong></blockquote><p>เป็นคำพูดที่สนับสนุนให้คนกล้าลองกล้าเสี่ยงดี โดยเฉพาะในช่วงวัยรุ่นที่ชีวิตยังไม่มีภาระมาก อยากจะทำอะไรก็ทำไปเลยถ้ามันดีมันก็จะไปได้ไกล แต่ถ้ามันไม่ดี ก็ถือว่าเป็นบทเรียนของชีวิตละกัน 5555</p><p>หลังจากนั้นก็มีไปเดินงานเรื่อยๆ งานครั้งนี้จัดได้ยิ่งใหญ่มาก มีตั้ง 5 สเตจแหนะ ! มีบูธทั้งของตัว Company ที่เปิดมานานและ startup หลังจากเดินวนเก็บแต้มสะสมในงาน ก็ค้นพบว่าปีนี้ AI chatbot มาแรงมากเดินไปไหนก็มีแต่ AI</p><p>อยากรู้เหมือนกันว่าตลาดในไทยเนี่ยจะ react กับ product เหล่านี้อย่างไร….</p><p>การได้ออกมาเจอ product ใหม่ๆมันทำให้เราเห็นว่าโลกใบนี้ยังมีช่องทางอีกเยอะ ดีใจที่ได้เข้ามาร่วมงานในครั้งนี้ :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80620a81c1b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manage Caching with Redis in concert ticket website]]></title>
            <link>https://neennera.medium.com/manage-caching-with-redis-in-concert-ticket-website-b8a4b277a31b?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8a4b277a31b</guid>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[express]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 10:02:01 GMT</pubDate>
            <atom:updated>2025-06-29T10:02:01.755Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to “TicketLemon 🍋”</p><p>A full-stack web application for concert ticket management with real-time seat reservation. A learning project for <strong>redis, node.js, express</strong> !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jy2SQqWWTIT-Pen8TFzGzA.jpeg" /></figure><p>The scope of this self-learning project is to create website that can</p><ol><li>buy concert ticket</li></ol><ul><li>We need /buy page with lots of traffic to check avaliable left seat</li><li>We will remove reservation that not complete payment in 5 minute</li></ul><p>2. free concert ticket apply</p><ul><li>We want /free page for user to send their application</li><li>We will has /admin to reviw &amp; grant/reject those application</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dlG1E2hq3HAedcsEd1KfZw.jpeg" /></figure><h4><strong>Technology Stack</strong></h4><ul><li><strong>Frontend</strong>: Next.js, React, TypeScript</li><li><strong>Backend</strong>: Express.js, Node.js</li><li><strong>Caching &amp; Real-time</strong>: Redis</li><li><strong>Database</strong>: MySQL (Containerization with Docker, Docker Compose)</li></ul><h4>System Architecture Design</h4><p>From the requirement, I design the website flow to be like this…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e9U59F51piX1lbU_4qoLvg.png" /></figure><p>The free ticket can be simple, Just answer application form then use /admin API to grant/reject the ticket</p><p>For the buy ticket part, I use Redis to cache `cacheBuySeat` this will allow a faster data access&amp;modifie than using API to connect database</p><p>I also embeded the 20 seats in to one string “0010…01” for 0 is avaliable seat</p><pre>async function getCacheBuySeat() {<br>  const conn = await getConn();<br>  const redisConn = await getRedisConn();<br><br>  // cacheBuySeat = bit string &quot;00100..10&quot; length 20 represent B01..B20<br>  let cacheBuySeat = await redisConn.get(&quot;cacheBuySeat&quot;);<br>  if (!cacheBuySeat) {<br>    let seatBitMap = Array(20).fill(false);<br>    const buySeatRes = await conn.query(<br>      &quot;SELECT seat FROM TICKETS WHERE zone = &#39;BUY&#39;&quot;<br>    );<br>    buySeatRes[0].map((item) =&gt; {<br>      const index = parseInt(item.seat.replace(&quot;B&quot;, &quot;&quot;));<br>      seatBitMap[index - 1] = true;<br>    });<br>    // REDIS : redis only accept text -&gt; make it stringify<br>    cacheBuySeat = JSON.stringify(seatBitMap);<br>    redisConn.set(&quot;cacheBuySeat&quot;, cacheBuySeat);<br>  }<br>  return cacheBuySeat;<br>}</pre><p>It can use for fast check if the seat is avaliable. But in order to reserve, I decide that the “write-through” method (modify both cache &amp; database) is more effective. Since we also need to generate new customer Id</p><p>Since this project use MySQL. I also has to use it in SQL language</p><pre>// sample of generate new customerId (CUSxxx) -----------<br>const [lastCustomer] = await conn.query(<br>  &quot;SELECT customerId FROM CUSTOMERS ORDER BY customerId DESC LIMIT 1&quot;<br>);<br>if (lastCustomer.length &gt; 0) {<br>  const lastNum =<br>    parseInt(lastCustomer[0].customerId.replace(&quot;CUS&quot;, &quot;&quot;)) || 0;<br>  newCustomerId = &quot;CUS&quot; + String(lastNum + 1).padStart(5, &quot;0&quot;);<br>} else {<br>  newCustomerId = &quot;CUS00001&quot;;<br>}</pre><p>This is database schema. I seperate Ticket Free &amp; Ticket Buy. So, it can gain a little bit of speed when query througn buy ticket (assume that free ticket will be applied in much more than buy ticket)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*foagOgOokD0qIbnlUpxZ-g.png" /></figure><h4>Conclusion</h4><p>TicketLemon is a ticket booking system that allows users to purchase tickets for concerts and events.</p><p>It features two types of tickets (free and paid), payment processing, and an admin dashboard for ticket management.</p><p>I can use <strong>Redis </strong>for caching avaliable seat or even cahcing a most view show data. So the website can be more speedup !</p><p>sourse code : <a href="https://github.com/neennera/ticketlemon">https://github.com/neennera/ticketlemon</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8a4b277a31b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LMS System for university academic camp ]]></title>
            <link>https://neennera.medium.com/lms-system-for-university-academic-camp-bc7ff8bb601c?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc7ff8bb601c</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[lms-systems]]></category>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[tech-leadership]]></category>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Mon, 19 May 2025 15:10:29 GMT</pubDate>
            <atom:updated>2025-05-19T15:12:30.443Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s such a wonderful challenge for me as a Head of IT Team in FE camp to deliver the LMS website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uFpK0i8AB-nUpAou5_mV6g.png" /><figcaption>list of subject in website</figcaption></figure><p><strong>FE18 Camp LMS</strong> — a custom Learning Management System. This website was used by 625 people on 19–26 May 2025 during <strong>FE Camp 2025</strong>, engineering faculty, Chulalongkorn university.</p><p>This is the <strong>first LMS system</strong> in this camp! From Jan 25 to May 19 (4 months), our team of 24 worked together. We did 102 issues in 8 cycles. We have 620 commits, 32 branches, 63 PR in GitHub</p><p>We also cooperate with other teams in FE camp(register team, studio team, and academic team) to build the perfect website.</p><h3>🛠 What This LMS Can Do</h3><p>We built the LMS with three main goals in mind:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g4Kxclhm7QYhKTHJ1OoY1A.jpeg" /><figcaption>subject files and notes</figcaption></figure><h4>1. Manage Classes</h4><ul><li>Every camper is placed into one of 8 “rooms,” each with their own schedule and theme.</li><li>Staff can upload files, post announcements, to manage subjects from the website.</li></ul><h4>2. Information Sharing</h4><ul><li>Stores camper and staff details like contact info, notes, and more.<br>Only shows the info people are allowed to see — depending on whether you’re a camper, staff, or board.</li><li>Staff can also write private notes about campers for internal use (super helpful for support and tracking progress).</li></ul><h4>3. Camp-Specific Tools</h4><ul><li>Reset Password function via email and token to verify user.</li><li>Room assignments and Pretest room announcements.</li><li>Test results &amp; Certificate : Shared right after camp to each camper.</li><li>LINE chatbot : that sends out key announcements through LINE.</li><li>WebPhase: The site changes its layout and features depending on the current camp phase (eg. PRETEST, CAMP, or POSTTEST )</li></ul><h3>🧑‍🤝‍🧑 Who Sees What?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lqYMRBcEgYgK77jPGPCp2w.jpeg" /></figure><p>The system also supports authentication and role-based access.</p><p>We made sure the system respects different roles:</p><p><strong>Campers</strong>: Can see their own classes, feedback, and account info.</p><p><strong>Staff</strong>: Priority depends on department(s).</p><ul><li><strong>VCK:</strong> can manage classroom, broadcast messages in Line chatbot.</li><li><strong>CENTRAL:</strong> Can broadcast and access personal info.</li><li><strong>REGISTER, IT, ROOMSTAFF, NURSE:</strong> personal Info access.</li></ul><p><strong>Board Members</strong>: Have full access, including web phase manage.</p><h3>🧑‍💻 Behind the Scenes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7C_mQFy-2xoTbNtw5MlciQ.jpeg" /></figure><p>🖌️ <strong>Ux/Ui design</strong></p><p><strong>User research</strong> : talk with board of FE camp, academic team to brainstorm the website feature.</p><p><strong>Wireframe </strong>: in first 2 month, Ux has design quick wireframe &amp; website flow</p><p><strong>Greek Theme </strong>: use greek aesthetic and different god statue for camper in each room</p><h4>🗃️ Database</h4><p><strong>PostgreSQL</strong> with <strong>Prisma ORM</strong> for smooth data handling.</p><p>Main Models:</p><ul><li><strong>Account: </strong>login credentials and role (BOARD, STAFF, CAMPER).</li><li><strong>Camper, Staff : </strong>Linked to Account, stores personal information.</li><li><strong>Class, Subject: </strong>Models for class scheduling, announcement, files.</li><li><strong>Notes: </strong>For staff to record notes about campers.</li><li><strong>WebPhase: </strong>Tracks the current phase of the camp</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NAAsPu6JRZUA3_RyqvWXpQ.jpeg" /></figure><h4>💻 Frontend</h4><p>Built with <strong>Next.js</strong> and <strong>React</strong>, styled using <strong>Tailwind CSS</strong>.</p><p>Each user role gets a unique UI — campers, staff, and board all see different things.</p><p>Authentication handled by <strong>NextAuth</strong>. For role-based access page and API. Middleware for role based access pages.</p><h4>🔐 Backend</h4><p><strong>Next.js API routes</strong> handle the logic and connect to the database.</p><p>Role-based access control ensures people only see what they’re allowed to.</p><p>We even have CSV import tools to help update camper info during the camp!</p><h3>🔥 Next Step</h3><p>This project can be improve such many ways like</p><ol><li><strong>More Testing:<br></strong> We completed the initial development checks, but on production day, numerous unforeseen bugs emerged. For example, files were uploaded with Thai filenames, some campers had already logged in before the official announcement, and load testing for 300 campers</li><li><strong>Tight Deadline:<br></strong>This project is quite large compared to the available timeline. I believe I was too flexible with ticket deadlines, which led to minimal progress in the first two months. However, given that 60% of the team consists of coding newcomers and volunteers, I find this acceptable.</li><li><strong>Brief &amp; Stakeholder Management:<br></strong> Managing stakeholders has been challenging — especially during the camp phase and registration period. The board requested additional features that weren’t initially specified. While I managed to deliver some on the camp day, others had to be turned down since they exceeded the original requirements.</li><li><strong>Training &amp; Selection:<br></strong> As mentioned earlier, we accepted all volunteers, leading to a large team. However, some members did not meet our skill standards, while others lost motivation and left the project. This made it difficult to predict the number of active contributors. For the next project, I plan to be more selective and ensure team members undergo training to align with the required skill level.</li></ol><h3>💬 Final</h3><p>This project wasn’t just about building a website — it was about solving real problems that come with organizing a big camp. We’re proud of how it turned out, and even more proud that it was built <em>by</em> camp members, <em>for</em> camp members.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc7ff8bb601c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SandCastle Website for Songkran Festival — in Just 5 Days!]]></title>
            <link>https://neennera.medium.com/sandcastle-website-for-songkran-festival-in-just-5-days-99e445a2aafd?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/99e445a2aafd</guid>
            <category><![CDATA[songkran-festival]]></category>
            <category><![CDATA[sveltekit]]></category>
            <category><![CDATA[songkran]]></category>
            <category><![CDATA[svelte]]></category>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Wed, 16 Apr 2025 12:08:06 GMT</pubDate>
            <atom:updated>2025-04-16T12:08:06.705Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>SandCastle Website for Songkran Festival — in Just 5 Days!</strong></h3><p>decorate digital sandcastle online</p><h3>Part 0: Introduction 💦</h3><p>In celebration of Thailand’s beloved Songkran Festival, we want to capture the charm of sand pagodas, floral symbolism, and the cultural spirit of Thai New Year.</p><p>The result was an interactive website where users can design and decorate their own <strong>digital sandcastles</strong> with traditional Thai elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GfLWH3ikgAmRwDHLSm0-xg.png" /></figure><p>💗 Product Link is here : <a href="https://sandcastle-delta.vercel.app/">https://sandcastle-delta.vercel.app/</a></p><p>📽️ VDO walkthrough is here : <a href="https://vt.tiktok.com/ZSrQUQfHA/">https://vt.tiktok.com/ZSrQUQfHA/</a></p><p>This project went from idea to launch in just <strong>5 days</strong>. with <strong>222 active users !!</strong></p><p>Here’s the story behind it !</p><h3>Part 1: The Idea 🎯</h3><p>We wanted to let people feel the joy of Songkran from anywhere — by digitally building their own <strong>sand pagodas (เจดีย์ทราย)</strong>.</p><h4>🏯 Four Pagoda Types</h4><ol><li><strong>Lotus Shape</strong> — Inspired by blooming flowers</li><li><strong>Orthogonal Shape</strong> — A tall pyramid symbolizing stability</li><li><strong>Layer Shape</strong> — Classic temple-style pagoda</li><li><strong>Floral Shape</strong> — Cute and Fresh style</li></ol><h4>🌸 Six Decorations</h4><ul><li><strong>Ratchaphruek</strong> <strong>Flower (ดอกราชพฤกษ์) </strong>— A yellow flower of prosperity</li><li><strong>Banmai Ru Roy Flower</strong> <strong>(ดอกบานไม่รู้โรย)</strong> — A pink flower of eternal love</li><li><strong>Mali Flower</strong> <strong>(ดอกมะลิ)</strong> — A white flower of pure love</li><li><strong>Banana Leaves (ใบตอง)</strong> — Traditional touch</li><li><strong>Mini Thai Flags (ธงสี)</strong> — For celebration</li><li><strong>River Rock (กรวดแม่น้ำ) </strong>— For a stability</li></ul><p>Users could decorate the pagoda , personalize it with a name and blessing, and share it with others.</p><h3>Part 2: Tech Stack⚙️</h3><p>This lightweight but expressive site was built using modern frontend tools that made quick development and beautiful design possible.</p><ul><li>⚙️ <strong>Framework</strong>:<a href="https://kit.svelte.dev/"> SvelteKit</a> with JavaScript</li><li>💅 <strong>Styling</strong>: Tailwind CSS</li><li>🎨 <strong>Code Formatter</strong>: Prettier</li><li>📦 <strong>Package Manager</strong>: pnpm</li><li>🚀 <strong>Deployment</strong>: Vercel</li></ul><p>We chose <strong>SvelteKit</strong> for its speed and simplicity, which helped us rapidly prototype the UI interactions and it also similar to Next.js which dev team used</p><h3>Part 3: PR Campaign on TikTok 📣</h3><p>We promoted the website with a small but strategic <strong>PR campaign on TikTok</strong>, focusing on emotionally driven, visually engaging content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6eXcMgwLrjJ1g1p715FPg.png" /></figure><h4>📌 4 Key Content Types:</h4><ol><li><strong>Main Poster</strong> — A poster with QR code to show overview of website</li><li><strong>Walkthrough Video</strong> — A 1 minute video walkthrough our website</li><li><strong>Behind the Scenes</strong> — A fun video sharing that “we built this in 5 days!”</li><li><strong>Decoration Showcase</strong> — Slideshow of decoration item</li></ol><p>This helped bring attention to the site, especially from Thai users who loved the seasonal theme and soft design.</p><h3>Part 5: The Outcome 🎉</h3><p>We launched on <strong>April 13, 2025</strong>, just in time for Songkran.</p><p>By <strong>April 16</strong>, here’s what we had:</p><ul><li>📊 <strong>222 active users</strong> (via Google Analytics)</li><li>🏯 <strong>33 decorated sandcastles</strong> created and shared</li><li>🎥 <strong>1,477 TikTok video views</strong></li></ul><h3>Final Thoughts</h3><p>This project reminded us that the magic of culture, tradition, and tech can come together in delightful ways</p><p>Stay hydrated, stay creative, and Happy Songkran! 🌊💛</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99e445a2aafd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ เว็บเจดีย์ทรายวันสงกรานต์ — ใน 5 วัน!]]></title>
            <link>https://neennera.medium.com/%E0%B9%80%E0%B8%A7%E0%B9%87%E0%B8%9A%E0%B9%80%E0%B8%88%E0%B8%94%E0%B8%B5%E0%B8%A2%E0%B9%8C%E0%B8%97%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%AA%E0%B8%87%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%99%E0%B8%95%E0%B9%8C-%E0%B9%83%E0%B8%99-5-%E0%B8%A7%E0%B8%B1%E0%B8%99-e90408715d98?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e90408715d98</guid>
            <category><![CDATA[songkran]]></category>
            <category><![CDATA[svelte]]></category>
            <category><![CDATA[sandcastles]]></category>
            <category><![CDATA[sveltekit]]></category>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Wed, 16 Apr 2025 12:07:00 GMT</pubDate>
            <atom:updated>2025-04-16T12:07:00.009Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>🌊 เว็บเจดีย์ทรายวันสงกรานต์ — ใน 5 วัน!</strong></h3><p>ตกแต่งเจดีย์ทรายออนไลน์สุดน่ารัก</p><h3>Part 0: แนะนำโปรเจกต์💦</h3><p>ในช่วงเทศกาลสงกรานต์ที่เรามีเวลาว่างสั้นๆ ทีมของเราอยากจะถ่ายทอดเสน่ห์ของเจดีย์ทราย ความหมายของดอกไม้ และกลิ่นอายวัฒนธรรมปีใหม่ไทย (เปล่าหรอก จริงๆแค่ไม่มีอะไรทำ)</p><p>เลยออกมาโปรเจกต์นี้ ซึ่งคือ interactive website ที่ให้ผู้ใช้ออกแบบและตกแต่ง “เจดีย์ทรายออนไลน์” ด้วยองค์ประกอบแบบไทย ๆ ในสไตล์สีน้ำ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yDD1FpmXWhNeERUTeo3Wog.png" /></figure><p>💗 Product Link : <a href="https://sandcastle-delta.vercel.app/">https://sandcastle-delta.vercel.app/</a></p><p>🎥 วิดีโอ walkthrough ดูได้ที่นี่:<a href="https://vt.tiktok.com/ZSrQUQfHA/"> https://vt.tiktok.com/ZSrQUQfHA/</a></p><p>เราใช้เวลาแค่ 5 วันตั้งแต่เริ่มคิดจนปล่อยจริง — มาดูเบื้องหลังกันเลย!</p><h3>Part 1: แนวคิดหลัก — เจดีย์ทราย</h3><h4>🎯 ไอเดีย</h4><p>เราอยากให้ทุกคนได้สัมผัสความสุขของสงกรานต์จากที่ไหนก็ได้ ด้วยการสร้าง <strong>เจดีย์ทรายออนไลน์</strong></p><p>ผู้ใช้งานสามารถเลือกแบบเจดีย์ ตกแต่งด้วยของมงคลแบบไทย ๆ และเขียนคำอวยพรพร้อมใส่ชื่อของตัวเอง</p><h4>🏯 เจดีย์ทราย 4 แบบ</h4><ul><li><strong>เจดีย์ทรงดอกบัว</strong> — ได้แรงบันดาลใจจากดอกไม้บาน</li><li><strong>เจดีย์ทรงสี่เหลี่ยม</strong> — รูปทรงสูงสื่อถึงความมั่นคง</li><li><strong>เจดีย์ทรงชั้น</strong> — คลาสสิกแบบวัดไทย</li><li><strong>เจดีย์ทรงดอกไม้</strong> — ละมุน สดใส สไตล์น่ารัก</li></ul><h4>🌸 ของตกแต่ง 6 อย่าง (วาดด้วยสีน้ำทั้งหมด)</h4><ul><li><strong>ดอกราชพฤกษ์</strong> — ดอกไม้สีเหลือง สื่อถึงความรุ่งเรือง</li><li><strong>ดอกบานไม่รู้โรย</strong> — ดอกไม้สีชมพู แทนความรักที่ยั่งยืน</li><li><strong>ดอกมะลิ</strong> — ดอกไม้สีขาว สื่อถึงรักบริสุทธิ์</li><li><strong>ใบตอง</strong> — ความเป็นธรรมชาติแบบไทย</li><li><strong>ธงสี</strong> — ธงเล็กสำหรับการเฉลิมฉลอง</li><li><strong>กรวดแม่น้ำ</strong> — สัญลักษณ์ของความมั่นคง</li></ul><p>ผู้ใช้สามารถตกแต่งเจดีย์ ใส่ชื่อและคำอวยพร แล้วแชร์ต่อให้เพื่อน ๆ ได้เลย !</p><h3>Part 2: Tech Stack</h3><p>เว็บไซต์นี้เบา เร็ว และแสดงผลสวยงาม ด้วยเทคโนโลยีทันสมัยที่ทำให้การพัฒนาเสร็จในเวลาอันสั้น</p><ul><li>⚙️ <strong>Framework</strong>: SvelteKit (JavaScript)</li><li>💅 <strong>Styling</strong>: Tailwind CSS</li><li>🎨 <strong>Code Formatter</strong>: Prettier</li><li>📦 <strong>Package Manager</strong>: pnpm</li><li>🚀 <strong>Deploy บน</strong>: Vercel</li></ul><p>เราเลือกใช้ SvelteKit เพราะพัฒนาเร็ว ใช้งานง่าย และมีความคล้าย Next.js ซึ่งทีมเราคุ้นเคย</p><h3>Part 3: โปรโมทบน TikTok</h3><p>เราทำแคมเปญ PR แบบน่ารัก ๆ บน TikTok โดยเน้นเนื้อหาที่ดูเพลินในเวลาไม่กี่วินาที</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*maS4nH38RNX1r-FJzm4i1w.png" /></figure><h4>📌 เนื้อหาหลัก 4 แบบ:</h4><ol><li><strong>โปสเตอร์หลัก</strong> — ภาพโปรโมทหลัก มี QR Code ให้คนสแกนไปยังเว็บ</li><li><strong>วิดีโอสาธิตการใช้งาน</strong> — แสดงภาพรวมเว็บไซต์ ความยาวประมาณ 1 นาที</li><li><strong>เบื้องหลัง</strong> — แชร์สนุก ๆ ว่า “เราใช้เวลาแค่ 5 วันทำเว็บนี้!”</li><li><strong>โชว์ของตกแต่ง</strong> — ภาพสไลด์ของของมงคลในเว็บ</li></ol><p>ผู้ชมหลายคน โดยเฉพาะคนไทย รู้สึกอินกับธีมสงกรานต์และดีไซน์สไตล์สีน้ำของเรา</p><h3>Part 4: ผลลัพธ์ที่ได้ 🎉</h3><p>เราเปิดเว็บไซต์วันที่ <strong>13 เมษายน 2025</strong> พอดีกับช่วงเทศกาล และภายในวันที่ <strong>16 เมษายน</strong> ก็ได้ผลตอบรับแบบนี้เลย:</p><ul><li>📊 ผู้ใช้งานจริง 222 คน (อ้างอิงจาก Google Analytics)</li><li>🏯 มีเจดีย์ทรายที่ถูกสร้างขึ้น 33 กอง</li><li>🎥 ยอดวิวใน TikTok: 1,477 วิว</li></ul><p>ถือว่าเป็นโปรเจกต์ 5 วัน ที่ “ได้ทั้งใจและได้ทั้งยอด!”</p><h3>บทส่งท้าย</h3><p>โปรเจกต์นี้ทำให้เราเห็นว่า “วัฒนธรรม + เทคโนโลยี” รวมกันแล้วสามารถสร้างประสบการณ์อบอุ่นและสร้างสรรค์ได้ขนาดไหน</p><p>หวังว่าทุกคนจะได้เล่นสนุกและรับพลังบวกช่วงสงกรานต์กันนะ <strong>สุขสันต์วันสงกรานต์ 💛💦</strong></p><h3>ของแถม…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KWkbrFiyxMrkHiGi6CScWA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e90408715d98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TinkerBread, Decorate your gingerbread !]]></title>
            <link>https://neennera.medium.com/tinkerbread-projects-864a46971d26?source=rss-817e38431c7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/864a46971d26</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[3d]]></category>
            <category><![CDATA[threejs]]></category>
            <dc:creator><![CDATA[neennera]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 15:54:14 GMT</pubDate>
            <atom:updated>2025-06-06T09:07:28.457Z</atom:updated>
            <content:encoded><![CDATA[<p>Created by neennera and Brnn043</p><h3>TinkerBread Projects</h3><p>A 10 days project for decorating friends’ gingerbreads in 3D and sending the messages. Send love through Christmas. Using Next.js, React Three Fiber, and PostgreSQL.</p><p>See the 2-minutes playthrough video : <a href="https://www.youtube.com/watch?v=ngRGwU9DiGg">here</a></p><p>This website launched on 25 December 2024. There were 43 new users in the first 2 days. We still run the website on Vercel until this day.</p><p>You can visit the website here (for now, backend is power off) :<a href="https://tinker-bread.vercel.app/"> here</a></p><h3>TinkerBread Web Flow</h3><p>First, users need to login with their google account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0an8qbhTTVEDEL58" /></figure><p>If they do not register on our website yet, it will lead to a signup page. Where user can choose their gingerbread model and set up their “thanks message”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bN4fSs7EYTOsSWQi" /></figure><p>After the login process, users can go to their /bake/me to see their TinkerBreads kitchen. When I show a friend’s item and message they decorate the user’s gingerbreads.</p><ul><li>Users can go to settings to change their name and thanks message.</li><li>Users can click “bake more” to get a new gingerbreads baking tray if three last gingerbreads are fully decorated.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bpsPQy99dk7Hmu2m" /></figure><p>When users visit a friend’s gingerbread by typing friend’s id. If they have not yet decorated this friend’s gingerbreads, the user can choose the decorated model and write a sweet message to them. Each two users can only send the decoration once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kCfXuw6cL5JMbWrs" /></figure><h3>Frontend Development</h3><h4>Tools</h4><ol><li><strong>Next.js</strong> — For building a fast and scalable web application.</li><li><strong>React-Three-Fiber &amp; Three.js</strong> — For rendering and managing 3D scenes and models.</li><li><strong>Blender</strong> — For creating and designing 3D gingerbread models.</li><li><strong>Tailwind CSS</strong> — For styling and creating responsive layouts.</li><li><strong>React</strong> — For managing user interactions and dynamic content.</li></ol><h4>Next.js</h4><p>The <strong>Tinkerbread</strong> project requires a high-performance and scalable web application to ensure users have a smooth and responsive experience.</p><p>To achieve this, we chose <strong>Next.js</strong> as our solution. Its features, such as server-side rendering (SSR) and static site generation (SSG), allow for fast page load times and efficient navigation between different sections of the application. This ensures that users can easily decorate gingerbreads, view updates in real-time, and share personalized links with friends without delays.</p><h4>Three.js &amp; React three fiber</h4><p>To create the interactive 3D visuals, we chose <strong>React-Three-Fiber</strong> and <strong>Three.js</strong> as our solutions.</p><p>React-Three-Fiber provides a React-friendly way to manage 3D scenes, integrating smoothly into the rest of the application’s components. It simplifies handling user interactions and decorations while maintaining a unified development workflow.</p><p>Three.js handles the rendering of the 3D models, ensuring that the visuals are high-quality and responsive.</p><p>This combination allows us to deliver stunning, realistic gingerbread models with smooth animations and precise interactions for user customization.</p><h4>Blender</h4><p>For designing the gingerbread models, we chose <strong>Blender</strong> as our 3D modeling tool. Blender enables us to create detailed and modular gingerbread assets that can be decorated dynamically by users. The tool’s robust design capabilities allow for intricate model creation while maintaining optimal performance for integration with web-based technologies.</p><p>These Blender assets are seamlessly imported into React-Three-Fiber, forming the heart of the Tinkerbread decorating experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M3FGpF2hqwDAzXXb" /></figure><h3><strong>Backend Development</strong></h3><h4>Tools</h4><p>Our backend leverages the PostgreSQL database with Prisma as the ORM (Object-Relational Mapping) library. This combination ensures efficient data modeling and querying capabilities.</p><h4>Database Schema</h4><p>We use a relational database schema with four primary tables:</p><ol><li><strong>User Table</strong></li></ol><ul><li>id: Unique identifier for each user.</li><li>email: User’s email address.</li><li>gingerbreadsId: A foreign key linking to the Gingerbreads table.</li></ul><p><strong>2. Gingerbreads Table</strong></p><ul><li>id: Unique identifier for each gingerbread collection.</li><li>thanksMessage: A custom thank-you message text.</li><li>gingerbreadModel: Stores the gingerbread model representation.</li><li>gingerbreadIds: Links to up to three Gingerbread records.</li></ul><p><strong>3. Gingerbread Table</strong></p><ul><li>id: Unique identifier for each gingerbread.</li><li>itemDataId: Links to an ItemData record representing specific parts of a gingerbread (e.g., head, left hand, right hand).</li></ul><p><strong>4. ItemData Table</strong></p><ul><li>id: Unique identifier for each item.</li><li>itemName: Name of the item (e.g., “Red Hat”, “Blue Gloves”).</li><li>senderName: Name of the sender.</li><li>message: Custom message attached to the item.</li></ul><h4>Authentication</h4><p>We integrate Google authentication using the NextAuth library for seamless and secure login.</p><p><strong>Session Data:</strong></p><ul><li>Stores the user’s username and userId.</li><li>Authentication is managed using Google as the provider.</li><li>To avoid duplicate user entries, we validate the user’s email during the signup process.</li></ul><h4>API Management</h4><p>All API endpoints are written within the Next.js framework.</p><p>Responsibilities include: Creating and managing user data, Handling CRUD operations for gingerbread-related data, Enforcing validation and error handling for API requests.</p><p>An example API endpoint like. GET /gingerbreads/:GGBsId/:userId to get user’s gingerbread , PATCH /gingerbread/:GGBsId to decorate friend’s gingerbread.</p><p>The important endpoint like decorate gingerbread api , change name api will check the user’s session first. If the session has invalid userId it will reject the query.</p><h4>Middleware</h4><p>Middleware is implemented to enforce user authentication. Checks if a user is logged in before granting access to certain routes.</p><p><strong>Protected Routes:</strong></p><ul><li>/bake/me: Allows users to view or customize their own gingerbread.</li><li>/bake/:userId: Restricts access to another user’s baking page unless authenticated.</li></ul><h3>TinkerBread Compainge</h3><p>This website launched the campainge on 25 December 2024–7 January 2025. It had ‘add-yours’ IG story and receive a warming message from 43 users in the first 2 days.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=864a46971d26" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>