I've been following this blog post on how to set up an api-only Rails 5 application. One of the sections talks about creating a subdomain for your api
Rails.application.routes.draw do
  constraints subdomain: "api" do
    scope module: "api" do| FROM ruby:3 | |
| # based on https://github.com/timbru31/docker-ruby-node/blob/master/3.1/16/Dockerfile | |
| RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -\ | |
| && apt-get update -qq && apt-get install -qq --no-install-recommends \ | |
| postgresql-client nodejs redis-tools \ | |
| && apt-get upgrade -qq \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/*\ | |
| && npm install -g yarn | 
I've been following this blog post on how to set up an api-only Rails 5 application. One of the sections talks about creating a subdomain for your api
Rails.application.routes.draw do
  constraints subdomain: "api" do
    scope module: "api" do| (ns yswrl.test.swirls.amazon-test | |
| (:use clojure.test) | |
| (:require [yswrl.test.scaffolding :refer :all] | |
| [yswrl.swirls.amazon :as amazon]) | |
| (:use clj-http.fake) | |
| (:use yswrl.fake.faker)) | |
| (deftest amazon-test | |
| (testing "url Params are in order" | 
A hopefully short and concise explanation as to how Clojure deals with Objects. If you already write Clojure, this isn't for you.
You know what an Interface is if you write/read Java or PHP 5+. In Clojure it might be called defprotocol.
user> (defprotocol IABC
        (also-oo [this])
        (another-fn [this x]))IABC