• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    Elixir
  • Created almost 6 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A turn-based browser RPG built with Phoenix LiveView

MOBA - Multiplayer Online Battle Arena

Test Suite Discord

MOBA

A community-made turn-based RPG built with Phoenix LiveView.

Get Involved

MOBA is an opportunity to get your feet wet with Phoenix LiveView (or even Elixir) beyond simple counter demos. It's first and foremost a fun learning experience for all developer skill levels, while also being an actual product with real users deployed in a production environment. Interested? Get Involved.

Requirements

  • PostgreSQL 12
  • Elixir 1.13.3
  • Erlang 23.3
  • node.js 17.0.1

Setup

  • Install dependencies with mix deps.get
  • Create, migrate and seed your database with mix ecto.setup
  • Install asset dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server (in project root)

Now you can visit localhost:4000 from your browser. You can login with the seeded admin account: [email protected] 123456

Running tests

The tests need the seeds file to be run on the test database.

MIX_ENV=test mix ecto.setup
mix test