{"id":24569384,"url":"https://github.com/collava/base_ash_template","last_synced_at":"2026-05-28T03:05:43.481Z","repository":{"id":268431185,"uuid":"901926585","full_name":"collava/base_ash_template","owner":"collava","description":"Base template for new projects with some common stuff implemented","archived":false,"fork":false,"pushed_at":"2026-05-25T02:10:02.000Z","size":708,"stargazers_count":7,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-25T04:29:49.663Z","etag":null,"topics":["ash-framework","elixir","elixir-phoenix","phoenix-framework","phoenix-liveview","template-project"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/collava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-12-11T15:17:32.000Z","updated_at":"2026-05-25T02:07:35.000Z","dependencies_parsed_at":"2026-05-16T03:02:52.676Z","dependency_job_id":null,"html_url":"https://github.com/collava/base_ash_template","commit_stats":null,"previous_names":["collava/base_ash_template"],"tags_count":153,"template":true,"template_full_name":null,"purl":"pkg:github/collava/base_ash_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collava%2Fbase_ash_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collava%2Fbase_ash_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collava%2Fbase_ash_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collava%2Fbase_ash_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/collava","download_url":"https://codeload.github.com/collava/base_ash_template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collava%2Fbase_ash_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33592098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ash-framework","elixir","elixir-phoenix","phoenix-framework","phoenix-liveview","template-project"],"created_at":"2025-01-23T15:22:57.430Z","updated_at":"2026-05-28T03:05:43.454Z","avatar_url":"https://github.com/collava.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AshBaseTemplate\n\nBase project using Ash and Phoenix, with authentication, authorization, email sending, security for apis, error tracking and more.\n\n## Features\n\n- Github actions setup for all checks and deployment to Fly.io\n- Formatters configured\n- Authentication and authorization samples\n- Protected admin\n- Simple User roles\n- Automatic version update, tag and release creation.\n- Dependabot and Renovate setup for all dependencies (pick 1)\n- Honeybadger and Sentry and in project error tracking\n\n## After cloning\n\n### Install pre-commit\n\n\u003chttps://pre-commit.com/#install\u003e\n\n### Rename all folders and modules according to your project\n\n### Get dependencies\n\n```bash\nmix deps.get\n```\n\n### Rename project\n\n```bash\nmix rename AshBaseTemplate MyNewProject\n```\n\n\u003e [!NOTE]\n\u003e The rename script might not update the email sender addresses in `config/config.exs` and `lib/my_new_project/accounts/emails.ex`.\n\u003e Please check those files and update the email addresses to match your new project's domain manually.\n\u003e You also have to manually change `tailwind.config.js`\n\u003e \"../lib/ash_base_template_web.ex\",\n\u003e \"../lib/ash_base_template_web/**/*.*ex\",\n\nSearch for any `ash_base_template` references and replace them with your new project name\n\n### Setup the project\n\n```bash\nmix setup\n```\n\n### Test pre-commit\n\n```bash\npre-commit run --all-files\n```\n\n### Start the project\n\n```bash\niex -S mix phx.server\n```\n\n- Home: \u003chttp://localhost:4000\u003e\n- Sign in: \u003chttp://localhost:4000/sign-in\u003e\n  - After registering or requesting the magic link, you will see in the terminal the link to login.\n- Admin: \u003chttp://localhost:4000/admin\u003e\n  - You have to update the user you registered to have the role `admin` in the database.\n- Swagger: \u003chttp://localhost:4000/api/swaggerui\u003e\n\n### Pre commit to run\n\n- Dialyzer\n- Sobelow\n- mix format\n- credo\n- mix tests, with bash script to only run tests related to modifications we have done\n\nOther features:\n\n- Oban for background jobs, and ObanLiveDashboard for monitoring.\n- Error tracking / reporting using Tower.\n- Email sending with Swoosh.\n- Auth using AshAuthentication.\n- Security for APIs with OpenApiSpex and Plug.Cors.\n- Error reporting with TowerErrorTracker.\n- Testing with ExUnit, Mneme, Mox, and Smokestack.\n- Code quality with Credo, Styler.\n- Security scanning with Sobelow, Hammer and MixAudit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollava%2Fbase_ash_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcollava%2Fbase_ash_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollava%2Fbase_ash_template/lists"}