<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Rest-Api · Projects</title><link>https://projects.eknath.dev/tags/rest-api/</link><description>Rest-Api updates from Projects</description><language>en-us</language><atom:link href="https://projects.eknath.dev/tags/rest-api/index.xml" rel="self" type="application/rss+xml"/><lastBuildDate>Thu, 03 Dec 2026 00:00:00 +0000</lastBuildDate><item><title>NoCodeREST - Instant REST Backends for People and AI Agents</title><link>https://projects.eknath.dev/projects/nocoderest/</link><guid isPermaLink="true">https://projects.eknath.dev/projects/nocoderest/</guid><pubDate>Thu, 03 Dec 2026 00:00:00 +0000</pubDate><category>rest-api</category><category>kotlin</category><category>ktor</category><category>react</category><category>mcp</category><category>ai-agents</category><category>architecture</category><description>A prototype backend workspace: design tables, set access, publish a versioned REST API, and connect an app or AI agent without writing backend boilerplate. Archived, with its full design and OpenAPI contract.</description><content:encoded><![CDATA[<blockquote>
<p><strong>Archived (December 2026).</strong> The hosted development instance is offline because of hosting cost. The design lives on here and in the <a href="https://md.eknath.dev/posts/software-development/nocoderest-the-small-decisions-that-make-a-backend-usable/">full write-up</a>.</p>
</blockquote>
<p>A small idea shouldn&rsquo;t start with days of backend plumbing. NoCodeREST let a solo maker, a small team or an AI coding agent define tables, choose who can do what, and publish a versioned REST API, with no backend code and no database to run. It was a working prototype built to test the ideas in <a href="https://md.eknath.dev/posts/software-development/seeing-software-through-abstraction/">Seeing Software Through Abstraction</a>.</p>
<h2 id="the-idea-in-three-rules">The idea in three rules</h2>
<ol>
<li><strong>Definitions are data, never code.</strong> A table is interpreted metadata: no customer SQL, no executable expressions.</li>
<li><strong>Publishing is deliberate.</strong> Drafts change freely. Published versions are immutable, share one dataset, and only accept compatible changes.</li>
<li><strong>Three realms never mix.</strong> Builders use the console, integrations use scoped keys, and a customer&rsquo;s end users sign in through the project&rsquo;s own app auth.</li>
</ol>
<h2 id="architecture-at-a-glance">Architecture at a glance</h2>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Console / Apps / AI agents ──▶ HTTPS ──▶ Identity &amp; session boundary
</span></span><span style="display:flex;"><span>                                            ├─▶ Control API ── draft compiler, publish review,
</span></span><span style="display:flex;"><span>                                            │                  publication state machine ─▶ metadata
</span></span><span style="display:flex;"><span>                                            └─▶ Published data runtime /api/v{n}/{project}/{table}
</span></span><span style="display:flex;"><span>                                                   ├─ policy engine  (intersection of all grants)
</span></span><span style="display:flex;"><span>                                                   ├─ query planner  (declared search/filter/sort only)
</span></span><span style="display:flex;"><span>                                                   └─ storage adapter ─▶ records, files
</span></span></code></pre></div><p>Every request must pass the intersection of: credential ∩ project ∩ key or role ceiling ∩ published version ∩ inherited policy (organization → project → folder → table) ∩ row rule ∩ lifecycle and quota.</p>
<h2 id="what-made-it-usable">What made it usable</h2>
<ul>
<li>Readable table names in URLs, optional folders, stable field IDs under renamable labels.</li>
<li>Search, filter and sort exist only where declared, so the console and agents always know what is allowed.</li>
<li>Idempotent creates, <code>If-Match</code> updates, signed cursors that fail loudly when data changes, one error shape.</li>
<li>Keys that are scoped, named, shown once and stored as hashes.</li>
<li>A task-first console: chips, copy buttons that copy the right URL, lock and globe markers, skippable tours on isolated sample data.</li>
<li>An agent kit (skill plus MCP server) whose rules include a mandatory publish review and no tools for destructive account actions.</li>
</ul>
<h2 id="stack-and-limits">Stack and limits</h2>
<p>Kotlin and Ktor, React and Vite, a local Node MCP adapter, hosted on a managed Java runtime with bounded NoSQL storage (200 record IDs per table, 10 fields per table). That storage was the real ceiling. A rebuild would use PostgreSQL with indexes created at publish time. The blog write-up has the full stack map and what I would keep or replace.</p>
]]></content:encoded></item><item><title>Jots - Alternative to Google Keep</title><link>https://projects.eknath.dev/projects/jots/</link><guid isPermaLink="true">https://projects.eknath.dev/projects/jots/</guid><pubDate>Thu, 09 Oct 2025 00:00:00 +0000</pubDate><category>notes</category><category>rest-api</category><category>zoho-catalyst</category><category>java</category><category>serverless</category><category>experiment</category><description>A Google Keep-style notes app built to test Zoho Catalyst as a backend: a Java REST function, a plain HTML/JS client and a small shell CLI. Archived.</description><content:encoded><![CDATA[<blockquote>
<p><strong>Archived (December 2026).</strong> The experiment is finished and the hosted app is offline. The source stays public on GitHub.</p>
</blockquote>
<p>Jots was an experiment, not a product. I wanted to learn where Zoho Catalyst is strong and where it hurts as a backend, and a notes app is the smallest thing that still needs real CRUD, listing and search.</p>
<h2 id="architecture">Architecture</h2>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Client (client/)                       Catalyst serverless
</span></span><span style="display:flex;"><span> index.html · home.html · collections.html        │
</span></span><span style="display:flex;"><span> main.js  ───────── HTTPS / JSON ───────▶  JotServerApp (Java function)
</span></span><span style="display:flex;"><span>                                            ├─ JotServerApp      routing
</span></span><span style="display:flex;"><span>                                            ├─ BaseService       single-note CRUD
</span></span><span style="display:flex;"><span>                                            ├─ BulkBaseService   list / bulk
</span></span><span style="display:flex;"><span>                                            ├─ JotDTO · JotException
</span></span><span style="display:flex;"><span>                                            └─ Catalyst Data Store: `notes` table via ZCQL / ZCRowObject
</span></span><span style="display:flex;"><span>jot_cli/jot_cli.sh ───────────────────────▶ same REST API
</span></span></code></pre></div><h2 id="the-api">The API</h2>
<p>A small, regular REST surface under <code>/server/JotServerApp/jots</code>:</p>
<table>
  <thead>
      <tr>
          <th>Operation</th>
          <th>Shape</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Create / update</td>
          <td>JSON body <code>{ &quot;jot&quot;: { &quot;title&quot;: &quot;...&quot;, &quot;note&quot;: &quot;...&quot; } }</code></td>
      </tr>
      <tr>
          <td>Get one</td>
          <td><code>GET .../jots/{id}</code> returns <code>{ &quot;data&quot;: { &quot;jot&quot;: { id, title, note, created_time, modified_time } }, &quot;status&quot;: &quot;success&quot; }</code></td>
      </tr>
      <tr>
          <td>Delete</td>
          <td><code>DELETE .../jots/{id}</code></td>
      </tr>
      <tr>
          <td>List</td>
          <td><code>GET .../jots</code> returns notes newest-modified first, paginated (<code>page</code>, <code>per_page</code>, <code>has_more</code>)</td>
      </tr>
  </tbody>
</table>
<h2 id="what-it-was-for">What it was for</h2>
<p>Jots was the smallest app that still needs real CRUD, listing and a REST contract, which made it a fair test of Catalyst&rsquo;s serverless Java functions plus a static client. The routing, validation, DTOs and error handling were all hand-written, which is the same plumbing I later tried to remove with <a href="https://projects.eknath.dev/projects/nocoderest/">NoCodeREST</a>.</p>
<h2 id="status">Status</h2>
<p>Development stopped once the experiment had answered its question, and the hosted app is now offline. The earlier native Android app, <a href="https://github.com/Eganathan/JOT-Notes-and-more">JOT-Notes-and-more</a> (Kotlin, Jetpack Compose, Room, Hilt, offline-first), is archived.</p>
]]></content:encoded></item></channel></rss>