{"id":19450924,"url":"https://github.com/frewacom/elixir-phoenix-docker-dev","last_synced_at":"2026-04-05T21:03:53.341Z","repository":{"id":134828792,"uuid":"349741555","full_name":"Frewacom/elixir-phoenix-docker-dev","owner":"Frewacom","description":"Phoenix boilerplate using PostgreSQL, Docker, Typescript, ESLint and prettier","archived":false,"fork":false,"pushed_at":"2021-03-21T15:15:06.000Z","size":241,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T19:58:19.341Z","etag":null,"topics":["boilerplate","docker","docker-container","elixir","elixir-phoenix","eslint","postgresql-database","prettier","template-repository","typescript"],"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/Frewacom.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}},"created_at":"2021-03-20T14:05:21.000Z","updated_at":"2021-08-04T00:51:39.000Z","dependencies_parsed_at":"2024-01-16T18:58:57.373Z","dependency_job_id":"4f60e1d1-2a92-4fdb-8a27-0b2adfb83e25","html_url":"https://github.com/Frewacom/elixir-phoenix-docker-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Frewacom/elixir-phoenix-docker-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frewacom%2Felixir-phoenix-docker-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frewacom%2Felixir-phoenix-docker-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frewacom%2Felixir-phoenix-docker-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frewacom%2Felixir-phoenix-docker-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frewacom","download_url":"https://codeload.github.com/Frewacom/elixir-phoenix-docker-dev/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frewacom%2Felixir-phoenix-docker-dev/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266737566,"owners_count":23976388,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["boilerplate","docker","docker-container","elixir","elixir-phoenix","eslint","postgresql-database","prettier","template-repository","typescript"],"created_at":"2024-11-10T16:39:35.885Z","updated_at":"2025-12-30T22:06:21.610Z","avatar_url":"https://github.com/Frewacom.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir and Phoenix boilerplate\nBoilerplate for a Phoenix application with a PostgreSQL database. Runs in a\ndocker container for easy setup and development.\n\n## Features\n* Docker\n* Typescript\n* Eslint\n* Prettier\n\n## Setup\n\u003e Depending on your installation, you might need to add `sudo` before each docker commmand.\n\n1. Install docker\n    * [Docker](https://docs.docker.com/get-started/)\n    * [Docker compose](https://docs.docker.com/compose/)\n2. Make sure that docker is running (run the appropriate command for your system):\n    ```\n    $ systemctl start docker\n    ```\n3. Build the docker container:\n    ```\n    $ docker-compose build\n    ```\n4. Start the container to install Elixir dependencies\n    ```\n    $ docker-compose up\n    ```\n5. Stop the container and create the PostgreSQL database:\n    ```\n    $ docker-compose run web mix ecto.create\n    ```\n6. Start the container again:\n    ```\n    $ docker-compose up\n    ```\n6. Navigate to:\n    ```\n    localhost:4000\n    ```\n\n## Commands\n* `npm run docker:shell` - opens an interactive shell in the docker container\n* `npm run docker:migrate` - starts a migration of the database using Ecto\n* `npm run docker:dev` - starts the docker container\n* `npm run docker:start` - starts the docker container in the background\n* `npm run docker:stop` - stops all running docker containers\n* `npm run tsc:dev` - watches for changes to source files and reports errors\n* `npm run tsc:lint` - lints all source files in `/src`\n* `npm run tsc:format` - formats all source files in `/src` using prettier\n* `npm run util:rename \u003cOldAppName\u003e \u003cNewAppName\u003e \u003cold_app_otp\u003e \u003cnew_app_otp\u003e` - rename the phoenix application, [usage docs](https://github.com/MainShayne233/rename)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrewacom%2Felixir-phoenix-docker-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrewacom%2Felixir-phoenix-docker-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrewacom%2Felixir-phoenix-docker-dev/lists"}