Ash + Phoenix LiveView codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with Ash + Phoenix LiveView including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Ash + Phoenix LiveView community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
A fullstack phoenix liveview application with backend built with Ash Framework.
- erlang 25.2 and elixir 1.14.2-otp-25
- PostgreSQL 14.6
- Clone the repo
git clone https://github.com/team-alembic/realworld.git
- Install dependencies
cd realworld mix deps.get
- Create a postgres database and run migration with ash_postgres
mix ash.setup && mix ash.migrate
-
Create a test database and run migration with ash_postgres
MIX_ENV=test mix ash_postgres.create && MIX_ENV=test mix ash.migrate
-
Run the tests
mix test
To start your Phoenix server:
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
The consultants at Alembic are monitoring for pull requests when they are “on the beach” (aka when they are not billable or working with a client). We will review your pull request and either merge it, request changes to it, or close it with an explanation. For changes raised when there are no consultants on the beach, please expect some delay. We will do our best to provide update and feedback throughout the process.