{"id":18387052,"url":"https://github.com/f22hd/generatingreports-api","last_synced_at":"2026-05-01T19:34:11.786Z","repository":{"id":99916596,"uuid":"136023273","full_name":"f22hd/GeneratingReports-API","owner":"f22hd","description":"An example of how to create API by java spring boot and generating pdf files by itextpdf and uploud it to AWS S3.","archived":false,"fork":false,"pushed_at":"2018-06-04T14:08:08.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T03:56:01.989Z","etag":null,"topics":["api","aws-s3","itextpdf","java","spring"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/f22hd.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,"publiccode":null,"codemeta":null}},"created_at":"2018-06-04T12:40:59.000Z","updated_at":"2018-06-04T14:08:09.000Z","dependencies_parsed_at":"2023-03-13T15:44:02.064Z","dependency_job_id":null,"html_url":"https://github.com/f22hd/GeneratingReports-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/f22hd/GeneratingReports-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f22hd%2FGeneratingReports-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f22hd%2FGeneratingReports-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f22hd%2FGeneratingReports-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f22hd%2FGeneratingReports-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f22hd","download_url":"https://codeload.github.com/f22hd/GeneratingReports-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f22hd%2FGeneratingReports-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["api","aws-s3","itextpdf","java","spring"],"created_at":"2024-11-06T01:24:23.325Z","updated_at":"2026-05-01T19:34:11.769Z","avatar_url":"https://github.com/f22hd.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeneratingReports-API\nAn example of how to create API by java spring boot and generating pdf files by itextpdf and uploud it to AWS S3 with supporting arabic language.\n\n### Application Sequence\n\nwith this application you can use generate reports by sending the details as json request.\n- request handled by controller.\n- validate and pass data to services.\n- services generate new file with data as pdf by itextpdf library.\n- after created the pdf file , application will use aws library to upload that file into specific bucket in S3.\n- result object will return as response.\n\n### Prerequisites:\n- Java 8\n- Maven \u003e 3.0\n\n### Configurations:\nmake sure add your credentials (bucket name , access key , secret key) in application.properties inside this path \n```sh\n/src/main/resources\n```\n\n## Usage\n### Using the terminal\nGo on the project's root folder, then type: \n```sh\nmvn spring-boot:run\n```\n### Using eclipse IDE or Spring Tool Suite\nImport as Existing Maven Project and run it as Spring Boot App.\n\n\nyou can use [Postman](https://www.getpostman.com/) and sending the requests ( POST , GET ..etc) to application.\n   New report:\n - POST  http://localhost:5000/report/ \n - Header: Content-Type   Application/json\n - Body :  { \"title\" : \"\", \"body\" : \"\" } -- initial body\n \n List reports :\n - GET http://localhost:5000/report/\n - Header:  Content-Type  Application/json\n\n Delete Report:\n - POST http://localhost:5000/report/delete/\n - Header:  Content-Type  Application/json\n - Body : {\"fileName\" : \"report.pdf\"}\n \n \n### development:\nWant to contribute? Great!\n\nafter cloned this repository, open your IDE and open that folder.\n- right click on the project name and choose maven then update project.\n\nDone :)\nnow you are ready to change the code and add more features and fixing the bugs.\ndon't forget to do pull request to get your changes and open issue if you have any issue with.\n\n\n#### Resources:\n - Spring Boot http://spring.io/projects/spring-boot\n - itextpdf https://developers.itextpdf.com/\n - aws sdk documentation https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/welcome.html\n \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff22hd%2Fgeneratingreports-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff22hd%2Fgeneratingreports-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff22hd%2Fgeneratingreports-api/lists"}