{"id":20338032,"url":"https://github.com/codeforfoco/codeforfocoissues","last_synced_at":"2026-05-28T20:31:39.685Z","repository":{"id":84879647,"uuid":"81705113","full_name":"CodeForFoco/codeforfocoissues","owner":"CodeForFoco","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-05T17:49:36.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T14:32:53.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeForFoco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2017-02-12T05:26:21.000Z","updated_at":"2017-02-17T02:24:19.000Z","dependencies_parsed_at":"2023-03-02T18:30:22.303Z","dependency_job_id":null,"html_url":"https://github.com/CodeForFoco/codeforfocoissues","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeForFoco/codeforfocoissues","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2Fcodeforfocoissues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2Fcodeforfocoissues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2Fcodeforfocoissues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2Fcodeforfocoissues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeForFoco","download_url":"https://codeload.github.com/CodeForFoco/codeforfocoissues/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2Fcodeforfocoissues/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33626137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2024-11-14T21:11:21.835Z","updated_at":"2026-05-28T20:31:39.626Z","avatar_url":"https://github.com/CodeForFoco.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Creating Issues\n\n## Getting Started\n\nThis small application allows the user to create a new **Issue** remotely.\n\nThe following info is required to be stored in the **src/main/webapp/WEB-INF/classes/application.properties** file:\n\n- GitHub account name\n- Repository name\n- Token\n\nThere are two ways to create a new **Issue**\n\n1. Using a \"conventional\" URL\n\n   ```\n   http://[hostname][:8080]/createIssue?issueTitle=ATitle\u0026firstName=AFirstName\u0026lastName=ALastName\u0026email=AnEmail\u0026userComment=AComment\n   ```\n\n2. Sending a **POST** request to the following REST Endpoint:\n\n   http://\\[hostname\\]:\\[:8080\\]/issues\n\n   And the following body:\n   \n   ```json\n   { \n\t    \"issueTitle\":\"ATitle\",\n\t    \"firstName\":\"AFirstName\",\n\t    \"lastName\":\"ALastName\",\n\t    \"email\":\"AnEmail\",\n\t    \"userComment\":\"AComment\"\n   }\n   ```\n   \n##\n## Running the application locally\n\n1. $ mvn clean install\n2. $ java -jar target/issues-swarm.jar\n\nExample using **cURL**:\n\n```\ncurl -X POST \\\n  http://127.0.0.1:8080/issues \\\n  -H 'cache-control: no-cache' \\\n  -H 'content-type: application/json' \\\n  -d '{\n\t\"issueTitle\":\"ATitle\",\n\t\"firstName\":\"AFirstName\",\n\t\"lastName\":\"ALastName\",\n\t\"email\":\"AnEmail\",\n\t\"userComment\":\"AComment\"\n}'\n```\n\nExample using **jQuery**:\n\n```javascript\nvar settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"http://127.0.0.1:8080/issues\",\n  \"method\": \"POST\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"cache-control\": \"no-cache\"\n  },\n  \"processData\": false,\n  \"data\": \"{\\n\\t\\\"issueTitle\\\":\\\"ATitle\\\",\\n\\t\\\"firstName\\\":\\\"AFirstName\\\",\\n\\t\\\"lastName\\\":\\\"ALastName\\\",\\n\\t\\\"email\\\":\\\"AnEmail\\\",\\n\\t\\\"userComment\\\":\\\"AComment\\\"\\n}\"\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});\n```\n## Bugs / Feedback / Suggestions\n\nWe encourage you to [open up an issue][newissue] if you have any feedback, suggestions or bugs.\n\n## License\n\nMIT, see [LICENSE](/LICENSE) for full license.\n\n[slack]: https://codeforfoco.slack.com/\n[slackinvite]: https://codeforfocoslack.herokuapp.com\n[fork]: https://help.github.com/articles/fork-a-repo/\n[forkthisrepo]: https://github.com/CodeForFoco/TODOUPDATEURL#fork-destination-box\n[contributing]: https://github.com/CodeForFoco/org/blob/master/CONTRIBUTING.md\n[githubissue]: https://github.com/CodeForFoco/TODOUPDATEURL/issues\n[newissue]: https://github.com/CodeForFoco/TODOUPDATEURL/issues/new\n[pullrequest]: https://github.com/CodeForFoco/TODOUPDATEURL/pulls","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforfoco%2Fcodeforfocoissues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforfoco%2Fcodeforfocoissues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforfoco%2Fcodeforfocoissues/lists"}