{"id":13796276,"url":"https://github.com/tpharaoh/apiplatformtemplate","last_synced_at":"2025-05-13T00:30:46.491Z","repository":{"id":39760966,"uuid":"197835658","full_name":"tpharaoh/apiplatformtemplate","owner":"tpharaoh","description":"A starter pack docker setup for Mercure, Scoped Entities, Vue Front End, APIPlatform","archived":false,"fork":false,"pushed_at":"2023-07-10T23:53:46.000Z","size":6165,"stargazers_count":17,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T23:06:36.038Z","etag":null,"topics":["api-platform","mercurehub","symfony","vuejs"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpharaoh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-19T20:10:05.000Z","updated_at":"2024-08-03T23:07:00.459Z","dependencies_parsed_at":"2024-08-03T23:06:46.768Z","dependency_job_id":"f8429311-a4eb-4141-a52f-b688c2ff2ef1","html_url":"https://github.com/tpharaoh/apiplatformtemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpharaoh%2Fapiplatformtemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpharaoh%2Fapiplatformtemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpharaoh%2Fapiplatformtemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpharaoh%2Fapiplatformtemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpharaoh","download_url":"https://codeload.github.com/tpharaoh/apiplatformtemplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225159851,"owners_count":17430192,"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":["api-platform","mercurehub","symfony","vuejs"],"created_at":"2024-08-03T23:01:08.320Z","updated_at":"2024-11-18T10:31:11.347Z","avatar_url":"https://github.com/tpharaoh.png","language":"PHP","funding_links":[],"categories":["Table of Contents"],"sub_categories":["awesome-api-platform-bundles"],"readme":"# Android APK\nWe added a self signed app-release.apk to the repo. It points to the demo server. You can see Mercure auto updating in the app. (note, we only put Mercure ont he book show page, not the list)\n\n# Summary\nI was looking for a tutorial, or solution to learn from which had a few of the elements I think are key to most apps. \n* multi tenant/teams\n* scope of data by team\n* secured live data updates\n* app setup\n* messenger added for background data\n\nSince I couldn't find on I decided to post on upwork, and open source the result. I met Maksym: https://www.upwork.com/freelancers/~01f4204dd14c8f6973 a very bright coder, who pulled this together in record time, above and beyond expectation. I hope open sourcing this can help others who want to get onto the apiplatform (and Mercure) bandwagon\n\n# Basic Preparation\n1) make sure no apache or nginx installed\n2) make sure docker installed also docker-compose tool should be installed\n3) clone the repo\n4) run sh ./setup\n5) docker ps to see all containers running\n6) if after install any containers didn't start, cd api \u0026\u0026 docker-compose stop \u0026\u0026 rm -rf var/log/* \u0026\u0026 docker-compose up -d\n\n# how to prepare for real time communication\nlook for and replace instances of the demo domain. Please be sure DNS is done first, as it will be needed by certbox for SSL\n\n# proxy\nset up your external IP in .env file\n\n# for api folder\n* api/docker-compose.yml:      VIRTUAL_HOST: apidemo.yap.life\n* api/docker-compose.yml:      LETSENCRYPT_HOST: apidemo.yap.life\n* api/docker-compose.yml:      - VIRTUAL_HOST=mercuredemo.yap.life\n* api/docker-compose.yml:      - LETSENCRYPT_HOST=mercuredemo.yap.life\n* api/docker-compose.prod.yml:      VIRTUAL_HOST: apidemo.yap.life\n* api/docker-compose.prod.yml:      LETSENCRYPT_HOST: apidemo.yap.life\n* api/docker-compose.prod.yml:      - VIRTUAL_HOST=mercuredemo.yap.life\n* api/docker-compose.prod.yml:      - LETSENCRYPT_HOST=mercuredemo.yap.life\n\n# client folder\n* client/docker-compose.prod.yml:      VIRTUAL_HOST: clientdemo.yap.life\n* client/docker-compose.prod.yml:      LETSENCRYPT_HOST: clientdemo.yap.life\n* client/docker-compose.yml:      VIRTUAL_HOST: clientdemo.yap.life\n* client/docker-compose.yml:      LETSENCRYPT_HOST: clientdemo.yap.life\n\n# mobile folder\n* .env.prod:VUE_APP_API_URL='https://apidemo.yap.life'\n* .env.prod:VUE_APP_MERCURE_URL='https://mercuredemo.yap.life/hub'\n\n# proxy\nnginx/data/conf.d/default.conf \u003c\u003c setup all your domains\n\n# note\npassphrase !ChangeMe!  \u003c\u003c can be changed in env.prod\n\n# mobile app\n* clone same repo to your local machine\n* in client folder, yarn install \u0026\u0026 yarn build\n* install cordova\n* install needed emulators and SDKs\n* cp .env.prod .env\n* in mobile folder, yarn install \u0026\u0026 yarn build\n* cd src-cordova\n* cordova platform add ios (or other)\n* cordova run ios (or replace ios with other)\n\n# demo\nhttps://apidemo.yap.life/\nhttps://clientdemo.yap.life/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpharaoh%2Fapiplatformtemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpharaoh%2Fapiplatformtemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpharaoh%2Fapiplatformtemplate/lists"}