dotfiles/app
Nikos Papadakis be7f584010
app: a nice poc background connection with the agent
Dynamically supervise a GRPC connection and keep it alive for a while,
using a timeout to kill the process on inactivity.

The Connection GenServer keeps the connection alive, while listening to
a health stream from the GRPC endpoint, notifying any subscribed
listeners about changes to health.

This health is then propagated to the main servers page.

Also create a looping get_sys_info which retrieves some basic system
information.
2023-08-26 00:51:04 +03:00
..
assets rename backend -> app 2023-07-19 23:24:24 +03:00
config app: add user authentication 2023-07-28 23:44:00 +03:00
lib app: a nice poc background connection with the agent 2023-08-26 00:51:04 +03:00
priv app: add user authentication 2023-07-28 23:44:00 +03:00
test app: add user authentication 2023-07-28 23:44:00 +03:00
.formatter.exs rename backend -> app 2023-07-19 23:24:24 +03:00
.gitignore rename backend -> app 2023-07-19 23:24:24 +03:00
mix.exs app: a nice poc background connection with the agent 2023-08-26 00:51:04 +03:00
mix.lock app: add user authentication 2023-07-28 23:44:00 +03:00
README.md rename backend -> app 2023-07-19 23:24:24 +03:00

Prymn

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more