{"id":18259767,"url":"https://github.com/jarlah/activity-planner","last_synced_at":"2025-04-11T22:06:01.760Z","repository":{"id":197959499,"uuid":"690560463","full_name":"jarlah/activity-planner","owner":"jarlah","description":"An example Phoenix application with foreign key multi tenancy ","archived":false,"fork":false,"pushed_at":"2023-11-16T21:04:16.000Z","size":943,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T22:05:01.082Z","etag":null,"topics":["ecto","elixir","flyio","phoenix","postgres"],"latest_commit_sha":null,"homepage":"https://activity-planner-poc.fly.dev","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/jarlah.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":"2023-09-12T12:37:12.000Z","updated_at":"2024-09-24T19:24:54.000Z","dependencies_parsed_at":"2024-03-04T15:04:47.816Z","dependency_job_id":null,"html_url":"https://github.com/jarlah/activity-planner","commit_stats":null,"previous_names":["jarlah/activity-planner"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarlah%2Factivity-planner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarlah%2Factivity-planner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarlah%2Factivity-planner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarlah%2Factivity-planner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarlah","download_url":"https://codeload.github.com/jarlah/activity-planner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487715,"owners_count":21112191,"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":["ecto","elixir","flyio","phoenix","postgres"],"created_at":"2024-11-05T10:39:52.522Z","updated_at":"2025-04-11T22:06:01.725Z","avatar_url":"https://github.com/jarlah.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActivityPlanner\n\nTo start your Phoenix server:\n\n  * Run `mix setup` to install and setup dependencies\n  * Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\nReady to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).\n\n## Start clustered nodes locally\n\nIn first terminal:\n```\nPORT=4000 iex --name a@127.0.0.1 -S mix phx.server\n```\n\nIn second terminal:\n```\nPORT=4001 iex --name b@127.0.0.1 -S mix phx.server\n```\n\nThen you can play around with the job mamager and the nodes\n\nRun in first terminal and see what node is adding the job\n\n```\nActivityPlanner.JobManager.delete_job(%{ name: \"bogus\", activity_group_id: -1 })\n```\n\nKill the terminal that said \"Deleting job\"\n\nRun the command again in the now only remanining terminal.\n\nIt will say \"Deleting job\" plus other log statements for loading the genserver on that node.\n\n## ER diagram\n\n![Diagram](diagram.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarlah%2Factivity-planner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarlah%2Factivity-planner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarlah%2Factivity-planner/lists"}