Skip to content

kamaroly/ash-phoenix-starter

Repository files navigation

Ash Phoenix Application Starter Kit

Unit Tests

A starter Kit that helps you build what's unique to your application faster.

Don't reinvent the wheel for common features. Clone it, rename it and start shipping with confidence.

Built for fast prototype and scaling in the future.

You can find concepts used in this kit in the Ash Framework for Phoenix Developers blog serie. I will continue to add features and documentation as time permits.

Ash Phoenix Starter Kit

FEATURES

  1. Multitenancy with Team Management
  2. Team switching
  3. User invite to the team
  4. Team user group permission management with Ash Policies
  5. Permission management
  6. Main Menu configurations
  7. Chart Reports
  8. Map Reports
  9. Authentication with Ash Authentication
  10. Templating with Daisy UI
  11. Accounting with AshDouble Entry

On-going implementation

User Impersonation
  1. Super user is added to the super_users list in the config/config.exs
  2. Super users can go to Settings > Users > and see Impersonate button
  3. If clicked, super users access the application as if they are the user they are impersonating
  4. Super Users can Go back to their account by clicking on top right menu and select "Go Back to My Account"

Upcoming features

  1. Email send out
  2. Rich Background Jobs with Oban
  3. AI integration with Ash AI
  4. Paper trail with Ash Paper Trail
  5. Workflows with ash_approver(A local package that needs to be published)
  6. Self referencing data with AshParental
  7. Documentations
  8. Automated CI/ CD workflow with Github

Installation

  1. Clone
  2. Rename your project with mix rename AshPhoenixStarter MyNewProjectName
  3. Replace AshPhoenixStarter with MyNewProjectName in your javascripts (This will automatically be cattered for in the future
  4. Confirm that all is well with mix tests
  5. Start implementing your new features

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

Phoenix

Ash

About

A Starter Kit for Phoenix and Ash Framework App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published