{"id":23564671,"url":"https://github.com/mickaelbaron/vuejs-polldle-tutorial-src","last_synced_at":"2025-10-08T19:33:46.553Z","repository":{"id":47955992,"uuid":"192357308","full_name":"mickaelbaron/vuejs-polldle-tutorial-src","owner":"mickaelbaron","description":"Voting done simply in real-time with PollDLE. PollDLE ~= Poll + the last part of Doo DLE (an Internet calendar tool for time management, famous for its simplification)","archived":false,"fork":false,"pushed_at":"2024-04-25T09:02:00.000Z","size":225,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-15T15:17:23.894Z","etag":null,"topics":["docker","docker-compose","java","kumuluzee","microprofile","multistage-build","vuejs"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/mickaelbaron.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}},"created_at":"2019-06-17T13:57:21.000Z","updated_at":"2024-04-25T09:02:04.000Z","dependencies_parsed_at":"2024-04-25T10:26:02.473Z","dependency_job_id":"ac12969d-70dc-43ff-b8a6-94bcec9a6829","html_url":"https://github.com/mickaelbaron/vuejs-polldle-tutorial-src","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mickaelbaron/vuejs-polldle-tutorial-src","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaelbaron%2Fvuejs-polldle-tutorial-src","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaelbaron%2Fvuejs-polldle-tutorial-src/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaelbaron%2Fvuejs-polldle-tutorial-src/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaelbaron%2Fvuejs-polldle-tutorial-src/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mickaelbaron","download_url":"https://codeload.github.com/mickaelbaron/vuejs-polldle-tutorial-src/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaelbaron%2Fvuejs-polldle-tutorial-src/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000701,"owners_count":26082805,"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-10-08T02:00:06.501Z","response_time":56,"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":["docker","docker-compose","java","kumuluzee","microprofile","multistage-build","vuejs"],"created_at":"2024-12-26T17:17:12.742Z","updated_at":"2025-10-08T19:33:46.535Z","avatar_url":"https://github.com/mickaelbaron.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PollDLE (PollDLE ~= Poll + the last part of DooDLE)\n\nVoting done simply in real-time with Polldle. PollDLE ~= Poll + the last part of Doo DLE (an Internet calendar tool for time management, famous for its simplification)\n\nSome technicals concepts in this application:\n\n* front-end in Vue.js 3 and Vite,\n* back-end in Java with MicroProfile and KumuluzEE implementation (JAX-RS and CDI),\n* using the given/when/then style for Java unit test,\n* full build with Docker with multi-stage build feature,\n* deployement with Docker.\n\n\u003e All instructions to understand how to develop a front part with [Vue.js](https://vuejs.org/) can be found here (in french): https://mickael-baron.fr/web/vuejs-miseenoeuvre-part2 and https://mickael-baron.fr/web/vuejs-deploiement-part3 \n\n## Software requirements\n\n* Docker (that's all)\n\n## Platform\n\nPolldle building and deployement have been tested on:\n\n* macOS Monterey (with Docker for Mac),\n* Linux Ubuntu.\n\nIn fact, all operating systems that support Docker can build and test PollDLE.\n\n## Download\n\nClone the latest development source:\n\n```console\n$ git clone https://github.com/mickaelbaron/vuejs-polldle-tutorial-src\n```\n\n## Configure\n\nIn the case you do not need a subpath, go to the next section.\n\nIf you want to use a subpath to deploy PollDLE (i.e. \u003chttp://localhost/YOUR_SUBPATH\u003e), edit the *subpath.conf* and replace all `YOUR_SUBPATH` string by your preferred value (i.e. `polldle`).\n\n```yaml\nserver {\n    listen 80;\n\n    location /YOUR_SUBPATH/server/ {\n        proxy_pass http://backend:9991/;\n        proxy_http_version 1.1;\n        proxy_set_header Connection \"\";\n    }\n\n    location /YOUR_SUBPATH/ {\n        rewrite ^/YOUR_SUBPATH(/.*)$ $1 break;\n        proxy_pass http://frontend;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection 'upgrade';\n        proxy_set_header Host $host;\n        proxy_cache_bypass $http_upgrade;\n    }\n}\n```\n\n## Build\n\nTo build without subpath: \u003chttps://localhost\u003e, execute this command line:\n\n```console\n$ docker compose build --build-arg script_name=build\n```\n\nTo build with subpath: \u003chttp://localhost/YOUR_SUBPATH\u003e, execute this command line:\n\n```console\n$ docker compose build  --build-arg script_name=subpath\n```\n\nTo check if the images are been built, execute this command line:\n\n```console\n$ docker compose ps\nNAME                                     COMMAND                  SERVICE             STATUS              PORTS\nvuejs3-polldle-tutorial-src-backend-1    \"java -cp /polldle/c…\"   backend             running             0.0.0.0:9991-\u003e9991/tcp\nvuejs3-polldle-tutorial-src-frontend-1   \"nginx -g 'daemon of…\"   frontend            running             80/tcp\nvuejs3-polldle-tutorial-src-rp-1         \"/docker-entrypoint.…\"   rp                  running             0.0.0.0:80-\u003e80/tcp\n```\n\n## Run\n\nFrom the root of the project, execute this command line:\n\n```console\n$ docker compose up -d\n```\n\nOpen your favorite web browser and go to this url: \u003chttp://localhost\u003e (without subpath) or \u003chttp://localhost/YOUR_SUBPATH\u003e (with a subpath).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickaelbaron%2Fvuejs-polldle-tutorial-src","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmickaelbaron%2Fvuejs-polldle-tutorial-src","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickaelbaron%2Fvuejs-polldle-tutorial-src/lists"}