<?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: Subash-Lamichhane</title>
    <description>The latest articles on DEV Community by Subash-Lamichhane (@subashlamichhane).</description>
    <link>https://dev.to/subashlamichhane</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%2F1475060%2F12fbb3cb-039b-40eb-ab94-341dbd20ff52.jpg</url>
      <title>DEV Community: Subash-Lamichhane</title>
      <link>https://dev.to/subashlamichhane</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/subashlamichhane"/>
    <language>en</language>
    <item>
      <title>Integrate Daytona into a Machine Learning Project with React, Node, and Python</title>
      <dc:creator>Subash-Lamichhane</dc:creator>
      <pubDate>Fri, 10 Jan 2025 09:22:12 +0000</pubDate>
      <link>https://dev.to/subashlamichhane/integrate-daytona-into-a-machine-learning-project-with-react-node-and-python-36o8</link>
      <guid>https://dev.to/subashlamichhane/integrate-daytona-into-a-machine-learning-project-with-react-node-and-python-36o8</guid>
      <description>&lt;h2&gt;
  
  
  Being a Developer, You Know the Struggle
&lt;/h2&gt;

&lt;p&gt;If you’ve ever spent hours just setting up someone else’s project from github then you’re not alone. It’s frustrating, tedious, and downright unproductive for both the project creator and anyone trying to use it. Many developers give up midway because the setup process feels like wading through quicksand. So, what’s the solution?&lt;/p&gt;

&lt;p&gt;Meet Daytona, the hero you didn’t know you needed! 🦸‍♂️&lt;/p&gt;




&lt;h2&gt;
  
  
  Introduction to Daytona
&lt;/h2&gt;

&lt;p&gt;Daytona is a self-hosted development environment manager that simplifies and makes setting up projects lightning-fast ⚡. It’s designed to simplify and accelerate workflows, whether you’re working on remote development or managing environments as code. Daytona takes the hassle out of complex setups, letting you focus on what truly matters—building and creating.&lt;/p&gt;

&lt;p&gt;As Daytona puts it:&lt;br&gt;
“Your team should spend less time configuring and more time creating.”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpmzr0cldn5m935v8ewp9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpmzr0cldn5m935v8ewp9.png" width="800" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This image from Daytona clearly explains how you can save your time and hassle with Daytona.&lt;/em&gt;&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/daytonaio" rel="noopener noreferrer"&gt;
        daytonaio
      &lt;/a&gt; / &lt;a href="https://github.com/daytonaio/daytona" rel="noopener noreferrer"&gt;
        daytona
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      The Open Source Dev Environment Manager.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;br&gt;
&lt;div&gt;
  
    
    &lt;img alt="Daytona logo" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fdaytonaio%2Fdaytona%2Fraw%2Fmain%2Fassets%2Fimages%2FDaytona-logotype-black.png" width="40%"&gt;
  
&lt;/div&gt;
&lt;br&gt;
&lt;div&gt;
&lt;p&gt;&lt;a href="https://www.daytona.io/docs" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/a6875dce5b9bc7b5ca47dca1b068e5dcb068038a500da135966575bc338d75df/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f646179746f6e61696f2f646f63733f6c6162656c3d446f637326636f6c6f723d323363633731" alt="Documentation"&gt;&lt;/a&gt;
&lt;a href="https://github.com/daytonaio/daytona#license" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/01ecdea1854758fa9bf0f359fa2f4464324463279ccc4b6d586e90de272e3474/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4170616368652d2d322e302d626c7565" alt="License"&gt;&lt;/a&gt;
&lt;a href="https://goreportcard.com/report/github.com/daytonaio/daytona" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/295bd4f82b11ba8bacd85262875f1c68c755cee403312c7cee959ab68c151023/68747470733a2f2f676f7265706f7274636172642e636f6d2f62616467652f6769746875622e636f6d2f646179746f6e61696f2f646179746f6e61" alt="Go Report Card"&gt;&lt;/a&gt;
&lt;a href="https://github.com/daytonaio/daytona/issues" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/3db9bc12d79f4a0378f300c7c35a4f2f72d773c750fbaef0b722cdea8e8b3db3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f646179746f6e61696f2f646179746f6e61" alt="Issues - daytona"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/baa6ce5587f122a2abc4c996fb5dd9ccc4b33eea6d914d227f3063754e01e758/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f646179746f6e61696f2f646179746f6e61"&gt;&lt;img src="https://camo.githubusercontent.com/baa6ce5587f122a2abc4c996fb5dd9ccc4b33eea6d914d227f3063754e01e758/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f646179746f6e61696f2f646179746f6e61" alt="GitHub Release"&gt;&lt;/a&gt;
&lt;br&gt;
&lt;a href="https://console.algora.io/org/daytonaio/bounties?status=open" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/22acd6dcf9e3a5321c52363de0e1ded1c603b8188164d4edaefbdb24c39f9731/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d6874747073253341253246253246636f6e736f6c652e616c676f72612e696f253246617069253246736869656c6473253246646179746f6e61696f253246626f756e746965732533467374617475732533446f70656e" alt="Open Bounties"&gt;&lt;/a&gt;
&lt;a href="https://console.algora.io/org/daytonaio/bounties?status=completed" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/f42498dcfd5b3407d64e22817ac1fc9be379304f803c3fad4a49003a374ba31d/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d6874747073253341253246253246636f6e736f6c652e616c676f72612e696f253246617069253246736869656c6473253246646179746f6e61696f253246626f756e74696573253346737461747573253344636f6d706c65746564" alt="Rewarded Bounties"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;br&gt;
&lt;p&gt;&lt;a href="https://www.producthunt.com/posts/daytona?utm_source=badge-top-post-badge&amp;amp;utm_medium=badge&amp;amp;utm_souce=badge-daytona" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/712ec3d008155f8c39db7cab71a1e9cb70b050877426e1758fb13337f69e93cc/68747470733a2f2f6170692e70726f6475637468756e742e636f6d2f776964676574732f656d6265642d696d6167652f76312f746f702d706f73742d62616467652e7376673f706f73745f69643d343435333932267468656d653d6c6967687426706572696f643d6461696c79" alt="Daytona - Dev environment manager that makes you 2x more productive | Product Hunt" width="250" height="54"&gt;&lt;/a&gt;
&lt;a href="https://www.producthunt.com/posts/daytona?utm_source=badge-top-post-topic-badge&amp;amp;utm_medium=badge&amp;amp;utm_souce=badge-daytona" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/d7459107bbc3c86cc6dcc78d21eabbc94ceef7f329cdba536de08a0abf6871e1/68747470733a2f2f6170692e70726f6475637468756e742e636f6d2f776964676574732f656d6265642d696d6167652f76312f746f702d706f73742d746f7069632d62616467652e7376673f706f73745f69643d343435333932267468656d653d6c6967687426706572696f643d7765656b6c7926746f7069635f69643d323637" alt="Daytona - Dev environment manager that makes you 2x more productive | Product Hunt" width="250" height="54"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;The Open Source Development Environment Manager&lt;/h1&gt;
&lt;/div&gt;
&lt;div&gt;
Set up a development environment on any infrastructure, with a single command
&lt;/div&gt;
&lt;br&gt;
&lt;p&gt;
    &lt;a href="https://www.daytona.io/docs" rel="nofollow noopener noreferrer"&gt;Documentation&lt;/a&gt;
    ·
    &lt;a href="https://github.com/daytonaio/daytona/issues/new?assignees=&amp;amp;labels=bug&amp;amp;projects=&amp;amp;template=bug_report.md&amp;amp;title=%F0%9F%90%9B+Bug+Report%3A+" rel="noopener noreferrer"&gt;Report Bug&lt;/a&gt;
    ·
    &lt;a href="https://github.com/daytonaio/daytona/issues/new?assignees=&amp;amp;labels=enhancement&amp;amp;projects=&amp;amp;template=feature_request.md&amp;amp;title=%F0%9F%9A%80+Feature%3A+" rel="noopener noreferrer"&gt;Request Feature&lt;/a&gt;
    ·
  &lt;a href="https://go.daytona.io/slack" rel="nofollow noopener noreferrer"&gt;Join Our Slack&lt;/a&gt;
    ·
    &lt;a href="https://twitter.com/daytonaio" rel="nofollow noopener noreferrer"&gt;Twitter&lt;/a&gt;
  &lt;/p&gt;
&lt;div&gt;&lt;a rel="noopener noreferrer" href="https://github.com/daytonaio/daytona/raw/main/assets/images/daytona_demo.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fdaytonaio%2Fdaytona%2Fraw%2Fmain%2Fassets%2Fimages%2Fdaytona_demo.gif" width="50%"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single Command&lt;/strong&gt;: Activate a fully configured development environment with a single command.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runs everywhere&lt;/strong&gt;: spin up your development environment on any machine — whether it's local, remote, cloud-based, physical server, or a VM &amp;amp; any architecture x86 or ARM.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Configuration File Support&lt;/strong&gt;: Initially support for &lt;a href="https://containers.dev/" rel="nofollow noopener noreferrer"&gt;dev container&lt;/a&gt;, ability to expand to DevFile, Nix &amp;amp; Flox (Contributions welcome here!).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prebuilds System&lt;/strong&gt;: Drastically improve environment setup times (Contributions welcome here!).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IDE Support&lt;/strong&gt; : Seamlessly supports &lt;a href="https://github.com/microsoft/vscode" rel="noopener noreferrer"&gt;VS Code&lt;/a&gt; &amp;amp; &lt;a href="https://www.jetbrains.com/remote-development/gateway/" rel="nofollow noopener noreferrer"&gt;JetBrains&lt;/a&gt; locally, ready to use without configuration. Includes a built-in Web IDE for added convenience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Git Provider Integration&lt;/strong&gt;: GitHub, GitLab, Bitbucket, Bitbucket Server, Gitea, Gitness, Azure DevOps, AWS CodeCommit, Gogs &amp;amp; Gitee can be connected, allowing…&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/daytonaio/daytona" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





&lt;h2&gt;
  
  
  Why Daytona? 🤔
&lt;/h2&gt;

&lt;p&gt;Let’s address the elephant in the room: Why should you use Daytona? The better question is, why shouldn’t you? Here’s what makes Daytona a developer’s best friend:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Speed and Agility:&lt;/strong&gt; Daytona’s architecture is all about getting things done quickly and adapting to challenges on the fly. 🏎️&lt;br&gt;
&lt;strong&gt;2. Commitment to Execution:&lt;/strong&gt; It ensures every project, no matter how complex, is executed with precision and excellence. 🛠️&lt;br&gt;
&lt;strong&gt;3. Proactivity:&lt;/strong&gt; Daytona anticipates your needs, making it a proactive partner in your development process. 🔮&lt;br&gt;
Key Features of Daytona:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Security:&lt;/strong&gt; Securely connects your local machine and remote environments without manual port forwarding. 🔒&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IDE Support:&lt;/strong&gt; Works seamlessly with Visual Studio Code and JetBrains IDEs, giving you a local-like development experience. 💻&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SCM Integration:&lt;/strong&gt; Pull repositories from GitHub, GitLab, Bitbucket, or Gitea directly into Daytona workspaces. 🔗&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Project Workspaces:&lt;/strong&gt; Perfect for working on microservices or multi-repository projects within a single workspace. 🗂️&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reverse Proxy Support:&lt;/strong&gt; Access workspaces on public or restricted networks with ease. 🌐&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extensible Core:&lt;/strong&gt; Customize Daytona with plugins written in Go, adding functionality tailored to your needs. 🛡️&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  How I Integrated Daytona into TerraGrow (my project):
&lt;/h2&gt;
&lt;h3&gt;
  
  
  What is TerraGrow? 🌱
&lt;/h3&gt;

&lt;p&gt;TerraGrow is an intelligent web app that uses a Random Forest model for crop recommendations and the Llama3-8b-8192 model from Groq to suggest yield improvement strategies. By analyzing factors like nitrogen (N), phosphorus (P), potassium (K), temperature, humidity, and pH, it helps farmers make smarter planting decisions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdw0032tiygj8e0w58kk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdw0032tiygj8e0w58kk.png" alt="TerraGrow" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Challenge:&lt;/strong&gt; 🤯 Integrating Python with Node.js and machine learning models made TerraGrow’s project structure complex. I wanted other developers to run it effortlessly, but the setup process was daunting. That’s when I discovered Daytona (thanks to Quira’s Quest 23—shoutout to Quira!).&lt;/p&gt;
&lt;h3&gt;
  
  
  Here’s how I did it, and how you can do it too:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Setting Up Daytona 🚀&lt;/strong&gt;&lt;br&gt;
I installed Daytona on my Linux machine using its straightforward installation guide. With Docker pre-installed, the setup was a breeze:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;(curl -sf -L https://download.daytona.io/daytona/install.sh | sudo bash) &amp;amp;&amp;amp; daytona server -y &amp;amp;&amp;amp; daytona
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For detailed instructions, check out Daytona’s installation guide.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Adding devcontainer.json 🛠️&lt;/strong&gt;&lt;br&gt;
Next, I created a devcontainer.json file inside the .devcontainer folder. &lt;br&gt;
For this, Devcontainer.ai helped me generate the initial file, though I had to tweak it for my needs. &lt;br&gt;
Here’s the final version:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "name": "React + Node.js Dev Container",
    "image": "mcr.microsoft.com/devcontainers/javascript-node:18",
    "features": {
      "python": "3.10"
    },
    "forwardPorts": [
      3000,
      5000
    ],
    "postCreateCommand": "cd frontend &amp;amp;&amp;amp; npm install &amp;amp;&amp;amp; cd ../backend &amp;amp;&amp;amp; pip install -r requirements.txt &amp;amp;&amp;amp; npm install"
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I then pushed these updates to the GitHub repository. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Creating a Workspace 🖥️&lt;/strong&gt;&lt;br&gt;
To run the daytona you can run&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;daytona serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also access available options using command &lt;code&gt;daytona&lt;/code&gt; through your terminal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmf8hfmz2rxfyz8414zjw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmf8hfmz2rxfyz8414zjw.png" alt="Daytona" width="800" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once Daytona was up and running, I launched it with the &lt;code&gt;daytona command&lt;/code&gt;. The interface was sleek and intuitive. To create a workspace, I used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;daytona create https://github.com/Subash-Lamichhane/TerraGrow-daytona
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command pulled my repository and set up the workspace. Boom—everything was ready to go! 🎉&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you are using vite for creating react project then you must change &lt;code&gt;"dev": "vite ",&lt;/code&gt;section in package.json to &lt;code&gt;"dev": "vite --host 0.0.0.0",&lt;/code&gt;to run the frontend in the workspace.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion 🎯
&lt;/h2&gt;

&lt;p&gt;Integrating Daytona into TerraGrow made my project more accessible, streamlined, and developer-friendly. The once-complicated setup became a breeze, allowing others to run it effortlessly.&lt;br&gt;
So, whether you’re working on a small website or a large-scale project, Daytona can save you time, headaches, and frustration. &lt;br&gt;
Trust me, it’s a game-changer. Try it out, and let the coding fun begin! &lt;/p&gt;




&lt;h2&gt;
  
  
  Here are some helpful links:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;My Project:&lt;/strong&gt; Check out &lt;a href="https://github.com/Subash-Lamichhane/TerraGrow-daytona" rel="noopener noreferrer"&gt;TerraGrow&lt;/a&gt; on GitHub to see the code and learn how it all works.&lt;br&gt;
&lt;strong&gt;Demo Video:&lt;/strong&gt; Watch the &lt;a href="https://github.com/user-attachments/assets/9c0cd84e-a9d7-4786-8ed4-a6ad8abd4f90" rel="noopener noreferrer"&gt;TerraGrow demo video&lt;/a&gt; to see it in action.&lt;br&gt;
&lt;strong&gt;Daytona:&lt;/strong&gt; Discover more about Daytona on their &lt;a href="https://github.com/daytonaio" rel="noopener noreferrer"&gt;GitHub page&lt;/a&gt;.&lt;br&gt;
&lt;strong&gt;Quira:&lt;/strong&gt; Learn about Quira, the platform that introduced me to Daytona, by visiting their &lt;a href="https://quira.sh/" rel="noopener noreferrer"&gt;website&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>daytona</category>
      <category>react</category>
      <category>machinelearning</category>
      <category>quira</category>
    </item>
    <item>
      <title>Introducing QUIZORA: Explore the Joy of Learning with Quizzes Just for You!</title>
      <dc:creator>Subash-Lamichhane</dc:creator>
      <pubDate>Mon, 30 Sep 2024 10:52:41 +0000</pubDate>
      <link>https://dev.to/subashlamichhane/introducing-quizora-explore-the-joy-of-learning-with-quizzes-just-for-you-5eee</link>
      <guid>https://dev.to/subashlamichhane/introducing-quizora-explore-the-joy-of-learning-with-quizzes-just-for-you-5eee</guid>
      <description>&lt;p&gt;Effective learning has taken a backseat in today's fast world where volumes of information that we go through on a daily basis have gone high. Now, let me introduce QUIZORA: a web application revolutionary in design, making effective learning engaging and fun! .&lt;/p&gt;

&lt;h3&gt;
  
  
  How did I come up with the idea:
&lt;/h3&gt;

&lt;p&gt;The idea of QUIZORA clicked in my mind when I was looking for last-minute revision material, which wasn't really good enough to meet my needs. Most of them did not boast either customization or variety in a quiz-based format.&lt;/p&gt;

&lt;p&gt;Having gone through the design, I found Shad-CN UI's sleek and user-friendly design to align perfectly with what I wanted for a modern, accessible learning platform. Finally, the simple yet interactive interface of my friend's &lt;a href="https://github.com/SusheelThapa/Tic-Tac-Toe" rel="noopener noreferrer"&gt;Tic-Tac-Toe&lt;/a&gt; project furthered the experience that I wanted to replicate with QUIZORA.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Key Features&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Personalized Quiz Generation&lt;/strong&gt;&lt;br&gt;
QUIZORA allows users to get questions generated via different tags: Science, Technology, Space, and Biology. You can even go into granular detail if you wish by choosing different models to get your quiz experience just right. Just think about being tested on such exciting questions as, "Which planet has most moons?" or "What is the significance of natural selection?"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Multiple AI Models for Varied Performance&lt;/strong&gt;&lt;br&gt;
One of the great features in QUIZORA is your ability to select one among three advanced AI models, which are Llama3-8b-8192, Mistral-Small, and GPT-4o-Mini. This further provides you with a gamut of performance levels, from which both beginners and seasoned quiz lovers can take their ultimate benefit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Save and Load Question Sets&lt;/strong&gt;&lt;br&gt;
Got a favorite quiz? QUIZORA, automatically saves your generated question sets for later use. This will be great for studying or sharing with friends.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Interactive UI&lt;/strong&gt;&lt;br&gt;
The interface is intuitive and pleasingly interactive. Skim through categories, see questions, and answer them in an interactive manner- learning was never so much fun.&lt;/p&gt;
&lt;h3&gt;
  
  
  Why QUIZORA?
&lt;/h3&gt;

&lt;p&gt;Living in a time when personalized learning is becoming essential, QUIZORA stands out in marrying technology and education through playing. We gamify the quizzes for an engaging experience with the material, furthering knowledge retention and understanding.&lt;/p&gt;
&lt;h3&gt;
  
  
  How QUIZORA Leverages Multiple AI Models
&lt;/h3&gt;

&lt;p&gt;These variations of generated content are there because different AI models have their respective pros and cons. QUIZORA runs on three models:&lt;br&gt;
&lt;strong&gt;Llama3-8b-8192&lt;/strong&gt;&lt;br&gt;
Excellent token processing speed, reaching 212.7 tokens/s, thus being perfect for users who need high efficiency and speed. It is accessed via Groq.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-4o-Mini&lt;/strong&gt;&lt;br&gt;
Has a balanced experience because it has moderate speed, 112.9 tokens/s, while maintaining very reliable quality. It is accessed via the specialized API from NAGA.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mistral-Small&lt;/strong&gt;&lt;br&gt;
Much slower in token processing at 80.7 tokens/s but makes up by being a lot more creative and deeper.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw6owntrpbu7ulgmd5o2p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw6owntrpbu7ulgmd5o2p.png" alt="Performance Table"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From our analysis, we have also found that Llama3-8b-8192 consistently delivered fastest responses. While, GPT-4o-mini and Mistral-Small's output speed were marginal for our task. Due to moderate requirements of QUIZORA project, all three models every provided similar performance results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F54cvre0ehnm9hs58dgve.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F54cvre0ehnm9hs58dgve.png" alt="Quality Index vs Speed"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzfaqpr25z5uy0fp6gmrj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzfaqpr25z5uy0fp6gmrj.png" alt="Quality Evaluations"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff1mvqjvyf3v3p30xgeqd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff1mvqjvyf3v3p30xgeqd.png" alt="Output Speed vs Price"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Source of performance data: &lt;a href="https://artificialanalysis.ai/leaderboards/models" rel="noopener noreferrer"&gt;Artificial Analysis Leaderboard&lt;/a&gt;&lt;br&gt;
Source of images: &lt;a href="https://artificialanalysis.ai/models?models_selected=gpt-4o-mini%2Cllama-3-1-instruct-8b%2Cmistral-small" rel="noopener noreferrer"&gt;Artificial Analysis&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Challenges
&lt;/h3&gt;

&lt;p&gt;Challenges Smooth card swiping, animations were one of the big challenges I had to work with to implement an interactive user experience. Quite a great deal of effort went into fine-tuning the transitions and movements to feel natural and responsive.&lt;/p&gt;

&lt;p&gt;Of course, there were a lot of challenges throughout this project; another major one was designing the UI by using only two colors. It was hard to strike a balance between simplicity and visual appeal with a limited color palette, but ultimately it made me focus on clean and minimalistic design elements that would enhance the overall look and feel of QUIZORA.&lt;/p&gt;
&lt;h3&gt;
  
  
  Future plan
&lt;/h3&gt;

&lt;p&gt;Perhaps the most important feature I will be implementing is the ability to explore QUIZORA with friends in real time. Users can create custom rooms with unique codes, which enables them to participate in quizzes together and make learning more interactive and shared.&lt;/p&gt;

&lt;p&gt;Smarter UI Animations: To add to that, I want to make it more interactive with UI animation features. These will make the platform more interactive and visually appealing to its users.&lt;/p&gt;

&lt;p&gt;Integration of Image Generation: Another exciting feature in the future is to integrate image generation into QUIZORA. This will enable users to create image-based questions, hence opening a whole new dimension toward quiz formats and enhancing the learning experience altogether.&lt;/p&gt;
&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;QUIZORA is innovative in its use of multiple AI models because such practice not only enriches the quiz generation process but also guarantees a way in which every user may find the perfect fit for them. QUIZORA gives users options and ownership in order to make their learning more personalized and effective.&lt;/p&gt;
&lt;h3&gt;
  
  
  Installation
&lt;/h3&gt;

&lt;p&gt;For installation follow following steps: &lt;/p&gt;

&lt;p&gt;Install nodejs and mongodb into your machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clone the Repository&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/Subash-Lamichhane/QUIZORA.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Frontend Setup&lt;/strong&gt;&lt;br&gt;
Navigate to the frontend directory and install dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd QUIZORA/frontend
yarn
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start the development server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Backend Setup&lt;/strong&gt;&lt;br&gt;
Navigate to the server directory and install dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd ../backend
yarn
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set up the environment variables by creating a .env file in the backend directory and add given details:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MONGO_URI=mongodb://localhost:27017/quizdb
NAGA_API_KEY="YOUR NAGA KEY HERE"
MISTRAL_API_KEY="YOUR MISTRAL KEY HERE"
OPENAI_BASE_URL=https://api.naga.ac/v1
GROQ_API_KEY="YOUR GROQ API KEY HERE"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You can get your &lt;code&gt;MISTRAL_API_KEY&lt;/code&gt; from &lt;a href="https://console.mistral.ai/api-keys/" rel="noopener noreferrer"&gt;here&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;You can get &lt;code&gt;GROQ_API_KEY&lt;/code&gt; from &lt;a href="https://console.groq.com/keys" rel="noopener noreferrer"&gt;here&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;You can get &lt;code&gt;NAGA_API_KEY&lt;/code&gt; from NagaAI's discord server.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Start the backend server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The backend server will be running on PORT 3000.&lt;/p&gt;

&lt;p&gt;Populate database with sample data while backend is running:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;node populateDatabase.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Usage:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Navigate to the Quizora Page:&lt;/strong&gt; Start by clicking "Get Started" at home page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Choose Your Tags:&lt;/strong&gt; Select the tags you're interested in, like Science, Technology, or Space.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select an AI Model:&lt;/strong&gt; Pick a model based on your preferred performance—speed, creativity, or balanced.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generate Your Quiz:&lt;/strong&gt; Hit the "Quizora" button and watch as your personalized quiz is generated instantly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explore quizzes:&lt;/strong&gt; Swap cards to get next cards, click on card to view answer to question.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  End Results:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Explore Section:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj5ce9etraegxn9p4yut.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj5ce9etraegxn9p4yut.png" alt="Explore"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create Quizora:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3s48xwwzjwc9y5i0i34e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3s48xwwzjwc9y5i0i34e.png" alt="Choose tags and model"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add Details:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbzafdov8an9yd9uaupck.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbzafdov8an9yd9uaupck.png" alt="Quizora description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quizora:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqd9y0c6rn6slobca65hr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqd9y0c6rn6slobca65hr.png" alt="Quizora"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://github.com/user-attachments/assets/7a4a0a0d-d8fd-4545-9e63-895c644f6cf9" rel="noopener noreferrer"&gt;Click here for demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;This project was created for Quira quest 16: School of open source&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
To explore Quira you can visit:&lt;br&gt;
&lt;a href="https://quira.sh/" rel="noopener noreferrer"&gt;https://quira.sh/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Support Me! 🌟
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Help me by:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Voting for me on Quira: &lt;a href="https://quira.sh/repo/Subash-Lamichhane-QUIZORA-864586874" rel="noopener noreferrer"&gt;Vote here!&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Starring my GitHub repo: &lt;a href="https://github.com/Subash-Lamichhane/QUIZORA" rel="noopener noreferrer"&gt;Give my repo a star!&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>quizzes</category>
      <category>learning</category>
      <category>quira</category>
    </item>
  </channel>
</rss>
