feat: expose CRUD, onboarding, pubsub via web

This commit is contained in:
2026-04-22 16:32:41 +02:00
parent 9807331da4
commit 9389c32244
33 changed files with 1536 additions and 7 deletions
+11
View File
@@ -5,3 +5,14 @@ config :localiserd, Localiser.Repo,
pool_size: 5
config :localiserd, ecto_repos: [Localiser.Repo]
config :localiserd, Localiser.Web.Endpoint,
adapter: Bandit.PhoenixAdapter,
http: [port: 4000],
secret_key_base: System.get_env("SECRET_KEY_BASE") ||
"localiser_dev_secret_key_base_change_in_prod_min64chars!!",
server: true,
render_errors: [formats: [json: Localiser.ErrorView], layout: false]
config :localiserd, :jwt_secret,
System.get_env("JWT_SECRET") || "localiser_dev_jwt_secret_change_in_prod!!"