{"id":21855564,"url":"https://github.com/zeropsio/recipe-phoenix","last_synced_at":"2026-04-29T16:04:13.699Z","repository":{"id":264377809,"uuid":"842290200","full_name":"zeropsio/recipe-phoenix","owner":"zeropsio","description":"A Basic Phoenix Recipe on Zerops","archived":false,"fork":false,"pushed_at":"2025-02-24T12:07:47.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T22:48:41.141Z","etag":null,"topics":["elixir-lang","phoenix","zerops","zerops-recipe"],"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/zeropsio.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}},"created_at":"2024-08-14T03:50:24.000Z","updated_at":"2025-02-24T12:07:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c2be3f0-3c17-47a8-aa9d-a03fd349ba38","html_url":"https://github.com/zeropsio/recipe-phoenix","commit_stats":null,"previous_names":["zeropsio/recipe-phoenix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-phoenix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-phoenix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-phoenix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-phoenix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeropsio","download_url":"https://codeload.github.com/zeropsio/recipe-phoenix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244852683,"owners_count":20521160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["elixir-lang","phoenix","zerops","zerops-recipe"],"created_at":"2024-11-28T02:16:23.000Z","updated_at":"2025-10-11T04:09:52.640Z","avatar_url":"https://github.com/zeropsio.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zerops x Phoenix\nPhoenix is a web framework for building building fast, reliable web applications in Elixir. This recipe helps you to get started with a Phoenix app on the Zerops platform.\n\n![phoenix](https://github.com/zeropsio/recipe-shared-assets/blob/main/covers/svg/cover-phoenix.svg)\n\n\u003cbr /\u003e\n\n## Deploy on Zerops\nYou can either click the deploy button to deploy directly on Zerops, or manually copy the [import yaml](zerops.yml) to the import dialog in the Zerops app.\n\n[![Deploy on Zerops](https://github.com/zeropsio/recipe-shared-assets/blob/main/deploy-button/green/deploy-button.svg)](https://app.zerops.io/recipe/elixir)\n\n\u003cbr/\u003e\n\n## Recipe features\n- **Phoenix 1.7** with **LiveView** for real-time features\n- **PostgreSQL** database integration with **Ecto**\n- Built with **Bandit** HTTP server (referenced in config/config.exs)\n- Asset bundling with **esbuild** and **Tailwind**\n- Email support via **Swoosh**\n- Health check endpoint at `/status`\n- JSON handling with **Jason**\n\n\u003cbr/\u003e\n\n## Project Structure\nThe application consists of:\n- Phoenix Router handling incoming requests\n- Database integration using Ecto\n- LiveView for real-time features\n- Asset pipeline with esbuild and Tailwind\n- Email handling with Swoosh\n\nKey endpoints:\n- `GET /` - Main application entry\n- `GET /status` - Health check endpoint\n- `/live` - LiveView routes\n\n\u003cbr/\u003e\n\n## Production vs. Development\nBase of the recipe is ready for production. For production deployment, consider:\n\n- Using highly available version of the PostgreSQL database (change `mode` from `NON_HA` to `HA` in recipe YAML)\n- Using at least two containers for the Phoenix service (add `minContainers: 2` in recipe YAML)\n\nFuther things to think about when running more complex, highly available pHOENIX production apps on Zerops:\n\n- containers are volatile - use Zerops object storage to store your files\n- Implement Redis (Valkey) for caching and session management\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\nNeed help setting your project up? Join [Zerops Discord community](https://discord.com/invite/WDvCZ54).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-phoenix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeropsio%2Frecipe-phoenix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-phoenix/lists"}