{"id":16989156,"url":"https://github.com/kosperera/skol-resthooks-try-quarkus","last_synced_at":"2026-04-16T13:33:37.421Z","repository":{"id":247353311,"uuid":"804879296","full_name":"kosperera/skol-resthooks-try-quarkus","owner":"kosperera","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-13T14:02:43.000Z","size":364,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T21:26:31.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/kosperera.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":"2024-05-23T12:55:43.000Z","updated_at":"2024-08-13T14:02:47.000Z","dependencies_parsed_at":"2024-08-13T17:08:24.770Z","dependency_job_id":null,"html_url":"https://github.com/kosperera/skol-resthooks-try-quarkus","commit_stats":null,"previous_names":["kosperera/skol-resthooks-try-quarkus"],"tags_count":0,"template":false,"template_full_name":"alertbox/try-dotnet-on-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosperera%2Fskol-resthooks-try-quarkus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosperera%2Fskol-resthooks-try-quarkus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosperera%2Fskol-resthooks-try-quarkus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosperera%2Fskol-resthooks-try-quarkus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kosperera","download_url":"https://codeload.github.com/kosperera/skol-resthooks-try-quarkus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244898410,"owners_count":20528335,"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":[],"created_at":"2024-10-14T03:05:35.533Z","updated_at":"2026-04-16T13:33:37.415Z","avatar_url":"https://github.com/kosperera.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESThooks on Quarkus (Jakarta)\n\nThis is a flavor of RESThooks implementation, but on Quarkus, the Supersonic Subatomic Jakarta Framework.\n\n\u003cimg align=\"center\" alt=\"RESThooks\" width=\"100%\" src=\"./docs/Architecture.jpg\" /\u003e\n\n\n\n\u003e Originally, this was created to tryout AOT-like native images for Serverless Lambdas on AWS.\n\n## About this repo\n\nIn case you were wondering, this code is:\n\n- Originally, written on a Mac with Development Container, in Georgia, US.\n- Written in Jakarta with Visual Studio Code\n- Built and packaged with Quarkus and GraalVM, thanks to Docker\n- Pub/Sub as Fanout on Amazon EventBridge\n- Served [on AWS](https://aws.amazon.com/products/application-integration/), thanks to Terraform\n\n\n\n## Quick start\n\n[![Open in Dev Container](https://img.shields.io/static/v1?style=for-the-badge\u0026label=Dev+Container\u0026message=Open\u0026color=blue\u0026logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/kosperera/skol-resthooks-try-quarkus)\n\nYou can also run this repo locally by following these repetitive steps:\n\n1. You want to ensure this repo is cloned to your local machine, and\n2. Open it in Visual Studio Code.\n\nSee pre-built dev container images in [Microsoft Registry](https://mcr.microsoft.com/en-us/catalog?search=devcontainers) for other variations that suites your hardware.\n\n## Publishing\n\nAt present this codebase is published to AWS using Terraform. First, you want to make sure you are logged into `aws` CLI and Mock Server is up and running. *Mocking with the Postman API* is a good source to setup a few API endpoints with a mock server.\n\nWith Visual Studio Code:\n\n- Refresh AWS credentials;\n\n  ```shell\n  # Set defaults\n  export AWS_{DEFAULT_,,EB_}PROFILE=\"\u003cprofile-name\u003e\"\n  export AWS_PROFILE_REGION=\"$(aws configure get region)\"\n  # Export credentials\n  eval \"$(aws configure export-credentials --format env)\"\n  ```\n\n- Package the lambda functions;\n\n  ```shell\n  ./mvnw clean install package -Dnative\n  ```\n\n- Switch to `/deployments/backend` folder to create AWS resources\n\n- Create a `terraform.tfvars` file according to `.tfvars.schema`\n\n- Paste values from your Mock Server\n\n- Publish\n\n  ```shell\n  cd deployments/backend\n  terraform init -upgrade # Optional.\n  terraform plan\n  terraform apply -auto-approve\n  ```\n\nThat's it. \n\n\n\n## Verifying\n\nTo verify if everything's working as expected, [Mocking with the Postman](https://www.youtube.com/watch?v=7BowehJJrbA) is one of the faster ways to setup a few API endpoints and a mock server. Then you can receive notifications!\n\nWith Visual Studio Code:\n\n- Switch to `/tests/e2e` folder to tryout HTTP requests\n- Create a `.env` file according to `.env.schema`\n- Paste the values from AWS and your Mock Server\n- Send messages with `post-messages.http` file\n\n\n\n## License\n\nThe source code is license under the [MIT license](#MIT-1-ov-file).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosperera%2Fskol-resthooks-try-quarkus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkosperera%2Fskol-resthooks-try-quarkus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosperera%2Fskol-resthooks-try-quarkus/lists"}