<?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: Abdul Ali</title>
    <description>The latest articles on Forem by Abdul Ali (@kaichat).</description>
    <link>https://forem.com/kaichat</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%2F3408027%2F11d9afe6-76ef-4f58-8f75-c722cc370ba6.png</url>
      <title>Forem: Abdul Ali</title>
      <link>https://forem.com/kaichat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/kaichat"/>
    <language>en</language>
    <item>
      <title>Luna API buit with Xano Backend</title>
      <dc:creator>Abdul Ali</dc:creator>
      <pubDate>Thu, 11 Dec 2025 19:09:08 +0000</pubDate>
      <link>https://forem.com/kaichat/luna-api-buit-with-xano-backend-3keg</link>
      <guid>https://forem.com/kaichat/luna-api-buit-with-xano-backend-3keg</guid>
      <description>&lt;h2&gt;
  
  
  How I Built a Developer Opportunity API in 3 Days with Xano + AI
&lt;/h2&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%2Fqbdi6nhcxuapwtnhy1yc.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%2Fqbdi6nhcxuapwtnhy1yc.png" alt="Cover Image" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;An AI-powered API that matches developers with hackathons, jobs, and grants - built for the Xano Challenge&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;I was tired of manually searching 10+ platforms every week:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;DevPost for hackathons&lt;/li&gt;
&lt;li&gt;LinkedIn for jobs&lt;/li&gt;
&lt;li&gt;Various grant databases&lt;/li&gt;
&lt;li&gt;Twitter for announcements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why isn't there ONE API that aggregates all of this and tells me what's actually relevant to MY skills?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So I built one. In 3 days.&lt;/p&gt;




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

&lt;p&gt;The &lt;strong&gt;Developer Opportunity Aggregator API&lt;/strong&gt; is a RESTful API that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Aggregates&lt;/strong&gt; hackathons, jobs, grants, scholarships, and learning resources&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Matches&lt;/strong&gt; opportunities to your developer profile using an intelligent algorithm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ranks&lt;/strong&gt; results by how well they fit YOUR skills, experience, and interests&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  First AI Prompt used to almost fully build out the whole api backend
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Build this API in Xano exactly as specified in this plan. Start with the database schema, then build endpoints in this order:[attached the plan thats in the project root]. Use XanoScript for the matching algorithm logic.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  The Magic: Smart Matching
&lt;/h3&gt;

&lt;p&gt;Instead of just filtering, the API calculates a &lt;strong&gt;match score (0-100)&lt;/strong&gt; for each opportunity:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"AI Hackathon 2025"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"match_score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;92&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"match_reasons"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"Matches 3/4 required skills (TypeScript, Python, AI/ML)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"Experience level is perfect fit (Advanced)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"Aligns with 2/3 interests (AI, Backend)"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The algorithm weights:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Skills Match (40%)&lt;/strong&gt; - Do your skills match the requirements?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Experience Level (30%)&lt;/strong&gt; - Are you qualified?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interest Alignment (20%)&lt;/strong&gt; - Does it match what you're looking for?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Location (10%)&lt;/strong&gt; - Remote-friendly? Relocation works?&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Xano&lt;/strong&gt; - No-code backend for database + API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-Assisted Development&lt;/strong&gt; - Generated initial endpoint logic&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenAPI 3.1&lt;/strong&gt; - Full documentation spec&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why Xano?
&lt;/h3&gt;

&lt;p&gt;I needed to ship fast. Xano let me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Design database schema visually&lt;/li&gt;
&lt;li&gt;Build REST endpoints without writing server code&lt;/li&gt;
&lt;li&gt;Focus on business logic (the matching algorithm)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Key Endpoints
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Register Developer Profile
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST &lt;span class="s2"&gt;"https://api.example.com/api:v1/developers_register"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
    "email": "dev@example.com",
    "skills": ["TypeScript", "React", "Python"],
    "experience_level": "advanced",
    "interests": ["AI", "Backend"]
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Get Personalized Matches
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://api.example.com/api:v1/opportunities_matching?developer_id=YOUR_ID"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Returns opportunities sorted by match score!&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Search with Filters
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://api.example.com/api:v1/opportunities_search?type=hackathon&amp;amp;skills=Python"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  The Matching Algorithm
&lt;/h2&gt;

&lt;p&gt;Here's the core logic (simplified):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;calculateMatchScore&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;developer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;opportunity&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// Skills (40% weight)&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;matchedSkills&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;intersection&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nx"&gt;developer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;skills&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;opportunity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;required_skills&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;matchedSkills&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nx"&gt;opportunity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;required_skills&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// Experience (30% weight)&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;developer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;level&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="nx"&gt;opportunity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;required_level&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// partial credit&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="c1"&gt;// Interests (20% weight)&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;matchedInterests&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;intersection&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nx"&gt;developer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;interests&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;opportunity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;category&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;matchedInterests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nx"&gt;opportunity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;category&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// Location (10% weight)&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;opportunity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;remote&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;developer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;willing_to_relocate&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="c1"&gt;// Deadline bonus&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;daysUntilDeadline&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;score&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;score&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






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

&lt;h3&gt;
  
  
  1. Data modeling is everything
&lt;/h3&gt;

&lt;p&gt;Spent the first day just designing the schema. Worth it.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Test as you build
&lt;/h3&gt;

&lt;p&gt;Created a Postman collection alongside development. Caught bugs early.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. AI accelerates, doesn't replace
&lt;/h3&gt;

&lt;p&gt;AI helped generate boilerplate. I still had to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fix edge cases&lt;/li&gt;
&lt;li&gt;Handle null values properly&lt;/li&gt;
&lt;li&gt;Debug UUID parsing errors&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Connect real data sources (DevPost API, GitHub Jobs)&lt;/li&gt;
&lt;li&gt;[ ] Add email notifications for high-match opportunities&lt;/li&gt;
&lt;li&gt;[ ] Build a simple frontend&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Try It Yourself
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;API Documentation&lt;/strong&gt;: &lt;a href="https://luna-api.apidog.io/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live API&lt;/strong&gt;: &lt;code&gt;https://xmsx-hkkx-nz6p.n7e.xano.io/api:v1&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/kaiandabdul/luna-api.git" rel="noopener noreferrer"&gt;Github&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Postman Collection&lt;/strong&gt;: &lt;a href="https://github.com/kaiandabdul/luna-api.git" rel="noopener noreferrer"&gt;Postman&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Thanks for Reading!
&lt;/h2&gt;

&lt;p&gt;If you're building something similar or have questions about the Xano + AI workflow, drop a comment below!&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built for the Xano AI-Powered Backend Challenge 2025&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  xano #api #ai #hackathon #buildingpublic
&lt;/h1&gt;

</description>
      <category>devchallenge</category>
      <category>xanochallenge</category>
      <category>api</category>
      <category>backend</category>
    </item>
  </channel>
</rss>
