<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rest on Tobys Portfolio</title><link>https://portfolio.obli.dk/tags/rest/</link><description>Recent content in Rest on Tobys Portfolio</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 08 Mar 2026 14:00:00 +0100</lastBuildDate><atom:link href="https://portfolio.obli.dk/tags/rest/index.xml" rel="self" type="application/rss+xml"/><item><title>REST and Test - From Endpoints to Confidence</title><link>https://portfolio.obli.dk/posts/week6-rest-and-test/</link><pubDate>Sun, 08 Mar 2026 14:00:00 +0100</pubDate><guid>https://portfolio.obli.dk/posts/week6-rest-and-test/</guid><description>&lt;h1 id="rest-and-test---from-endpoints-to-confidence"&gt;REST and Test - From Endpoints to Confidence&lt;/h1&gt;
&lt;p&gt;This week was where things started to get more serious.&lt;/p&gt;
&lt;p&gt;Up until now, I had built endpoints that &lt;em&gt;worked&lt;/em&gt;, but I had no real guarantee that they would continue working as the system evolved.&lt;/p&gt;
&lt;p&gt;This week introduced:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;automated testing&lt;/li&gt;
&lt;li&gt;authentication&lt;/li&gt;
&lt;li&gt;and a much deeper understanding of how a backend should behave&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="from-it-works-to-it-is-reliable"&gt;From “it works” to “it is reliable”&lt;/h2&gt;
&lt;p&gt;Before this week, my workflow was very simple:&lt;/p&gt;</description></item><item><title>REST API Introduction - From Database to Endpoints</title><link>https://portfolio.obli.dk/posts/week5-rest-api/</link><pubDate>Sun, 01 Mar 2026 14:00:00 +0100</pubDate><guid>https://portfolio.obli.dk/posts/week5-rest-api/</guid><description>&lt;h1 id="rest-api-introduction---from-database-to-endpoints"&gt;REST API Introduction - From Database to Endpoints&lt;/h1&gt;
&lt;p&gt;This week was where the project started to feel like an actual application instead of “just” a backend connected to a database.&lt;/p&gt;
&lt;p&gt;Up until this point, I had mostly been working with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;entities&lt;/li&gt;
&lt;li&gt;DAOs&lt;/li&gt;
&lt;li&gt;JPA&lt;/li&gt;
&lt;li&gt;database relations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But this week, I had to expose that functionality through a &lt;strong&gt;REST API&lt;/strong&gt; using &lt;strong&gt;Javalin&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;That meant turning internal Java logic into something that could be accessed through HTTP requests and JSON responses.&lt;/p&gt;</description></item></channel></rss>