{"id":22377874,"url":"https://github.com/klemek/choices","last_synced_at":"2025-07-30T23:32:31.843Z","repository":{"id":45535568,"uuid":"140011492","full_name":"Klemek/Choices","owner":"Klemek","description":" A small GAE application for testing purposes","archived":false,"fork":false,"pushed_at":"2022-11-16T09:20:30.000Z","size":1840,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-21T10:24:18.750Z","etag":null,"topics":["appengine","appengine-java","java","java8","javascript","maven"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Klemek.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}},"created_at":"2018-07-06T17:08:46.000Z","updated_at":"2024-04-21T10:24:18.751Z","dependencies_parsed_at":"2023-01-21T19:19:49.508Z","dependency_job_id":null,"html_url":"https://github.com/Klemek/Choices","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/Klemek%2FChoices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Klemek%2FChoices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Klemek%2FChoices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Klemek%2FChoices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Klemek","download_url":"https://codeload.github.com/Klemek/Choices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228198830,"owners_count":17883776,"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":["appengine","appengine-java","java","java8","javascript","maven"],"created_at":"2024-12-04T22:16:01.886Z","updated_at":"2024-12-04T22:16:02.641Z","avatar_url":"https://github.com/Klemek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Scc Count Badge](https://sloc.xyz/github/klemek/choices/?category=code)](https://github.com/boyter/scc/#badges-beta)\n[![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/Klemek/Choices.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/Klemek/Choices/context:java)\n[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/Klemek/Choices.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/Klemek/Choices/context:javascript)\n[![Total alerts](https://img.shields.io/lgtm/alerts/g/Klemek/Choices.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/Klemek/Choices/alerts/)\n\n# Choices\n\nA small maven project to test Google App Engine features.\n\nIt allow you to create question-based rooms and with the room number other people can login and respond to questions on their mobile.\n\n[See API description](API.md)\n\n## Features\n* Room creation\n* Google + login\n* Mobile answering\n* Question database / customisation\n\n## Languages / Frameworks / Libraries\n\n* Front :\n  * HTML 5 / CSS 3 / ECMA 6\n  * JQuery 3.3.1\n  * Bootstrap 4.1.1\n  * Bootstrap Slider 10.0.2 (+fix for BS4)\n  * Font-awesome 5\n  * MathJax 2.7.4\n  * SheetJS\n* Back :\n  * Java 8\n  * Google Appengine API 1.9.64\n  * Google Cloud Client 0.47.0-alpha\n  * JSON 20180813 (json.org)\n  * Betterlists 1.4 (klemek)\n  * SimpleLogger 1.3 (klemek)\n  * Testing : Junit 4.12\n  * Testing : Mockito 2.19.0\n  * Testing : Powermock 2.0.0-beta.5\n\n## Launching the project\n\n### Before launch\n\nFirst, in your Google App Engine project, make sure Datastores and Google+ APIs are enabled.\n(or follow [this link](https://console.cloud.google.com/flows/enableapi?apiid=datastore.googleapis.com,datastore,plus) to do so)\n\nGet OAuth2 credentials if you haven't already (see how in [this page](https://cloud.google.com/java/getting-started/authenticate-users))\n\nThen create a `release.properties` file (located in the `src/main/java/resources` folder) which contains\n```\nadmins={every admin's mails separated by ;}\nauth.clientID={OAuth2 client ID}\nauth.clientSecret={OAuth2 client secret}\nmail.recipient={report mail recipient}\nmail.sender={report mail sender, ex:report@yourapp.appspot.com}\nmail.title={report mail title}\napp.name={self explaining}\n```\n\nDon't forget to replace `app.id` and `app.version` in the `pom.xm` properties\n\n### Launching development server\n\nYou can launch the project with the jetty command :\n\n```mvn clean verify jetty:run -Plocal```\n\nOr appengine command :\n\n```mvn clean verify appengine:run -Plocal```\n\nPlease note that, unlike App Engine, Jetty will load static files (html, css, js, etc.) directly from the source folder which allow you to do live front-end development.\n\nYou can add `-DskipTests` to skip all tests.\n\n### Uploading to Google App Engine\n\nUpload the project to Google App Engine with :\n\n```mvn clean verify appengine:deploy```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklemek%2Fchoices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklemek%2Fchoices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklemek%2Fchoices/lists"}