Add endpoint for room creation

This commit is contained in:
Pim Kunis 2021-07-10 23:16:00 +02:00
parent 80c8d3a66b
commit 598af7a884
15 changed files with 679 additions and 551 deletions
lib/matrix_server

View file

@ -7,14 +7,11 @@ defmodule MatrixServer.Application do
def start(_type, _args) do
children = [
# Start the Ecto repository
MatrixServer.Repo,
# Start the Telemetry supervisor
MatrixServerWeb.Telemetry,
# Start the PubSub system
{Phoenix.PubSub, name: MatrixServer.PubSub},
# Start the Endpoint (http/https)
MatrixServerWeb.Endpoint
MatrixServerWeb.Endpoint,
MatrixServer.RoomServer
# Start a worker by calling: MatrixServer.Worker.start_link(arg)
# {MatrixServer.Worker, arg}
]