Preparatory work

This commit is contained in:
Maciej 2026-02-21 13:05:47 +02:00
parent a22ba724df
commit 386a331956
Signed by: maciej
GPG key ID: 28243AF437E32F99
9 changed files with 217 additions and 1 deletions

View file

@ -20,6 +20,12 @@ defmodule BirdyChatWeb.Router do
get "/", PageController, :home
end
scope "/api", BirdyChatWeb.Api do
pipe_through [:api]
post "/messages", Messages.Controller, :create
end
# Other scopes may use custom stacks.
# scope "/api", BirdyChatWeb do
# pipe_through :api