Go to file
Nolan Darilek 7fdb30520e Hide title/artist metadata when empty.
From an accessibility perspective, having an empty `<h2/>` is confusing. Even though it lacks text, it remains visible to scree readers and is still navigable.

I'm not sure whether wrapping the entire `<div/>` in this check breaks the layout, or if the individual elements should have `aria-hidden` set if their values are empty.
2021-12-14 12:17:40 -06:00
assets Initial attempt at accessibly announcing route updates. 2021-11-22 15:25:41 -06:00
config Bump for latest gen.release 2021-12-08 13:07:39 -05:00
lib Hide title/artist metadata when empty. 2021-12-14 12:17:40 -06:00
priv Rename songs_number to songs_count and refactor error messages 2021-11-19 10:51:50 -05:00
rel/overlays/bin Bump for latest gen.release 2021-12-08 13:07:39 -05:00
test Fixup tests 2021-12-14 10:35:51 -05:00
.dockerignore Add latest phx.gen.docker files 2021-12-03 08:54:28 -05:00
.formatter.exs Make it so 🚀 2021-09-02 14:00:57 -04:00
.gitignore Lock files behind temporary token 2021-11-05 23:02:31 -04:00
Dockerfile Bump for latest gen.release 2021-12-08 13:07:39 -05:00
fly.toml Bump for latest gen.release 2021-12-08 13:07:39 -05:00
mix.exs Fix deps 2021-12-03 08:56:33 -05:00
mix.lock Add latest phx.gen.docker files 2021-12-03 08:54:28 -05:00
README.md Link directly to app creation page in README. 2021-11-16 12:30:06 -06:00

LiveBeats

Play music together with Phoenix LiveView!

Visit todo to try it out, or run locally:

  • Create a Github OAuth app from this page

    • Set the app homepage to http://localhost:4000 and Authorization callback URL to http://localhost:4000/oauth/callbacks/github
    • After completing the form, click "Generate a new client secret" to obtain your API secret
  • Export your GitHub Client ID and secret:

    export LIVE_BEATS_GITHUB_CLIENT_ID="..."
    export LIVE_BEATS_GITHUB_CLIENT_SECRET="..."
    
  • Install dependencies with mix deps.get

  • Create and migrate your database with mix ecto.setup

  • 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