Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuriytkach/demo-1-en-status-page
Serverless IP Weather & Location Status Page. Demo Project for Online Stream #1 (English)
https://github.com/yuriytkach/demo-1-en-status-page
lambda quarkus qute rest-client
Last synced: about 12 hours ago
JSON representation
Serverless IP Weather & Location Status Page. Demo Project for Online Stream #1 (English)
- Host: GitHub
- URL: https://github.com/yuriytkach/demo-1-en-status-page
- Owner: yuriytkach
- Created: 2024-01-28T16:38:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-28T16:39:03.000Z (about 1 year ago)
- Last Synced: 2024-12-02T03:09:33.016Z (about 2 months ago)
- Topics: lambda, quarkus, qute, rest-client
- Language: Java
- Homepage: https://bit.ly/ip-wth-loc
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless IP Weather & Location Status Page
## Demo Project for Online Stream #1 (English)Application is build with [Quarkus](https://quarkus.io/).
It runs live on AWS Lambda and is accessible via API Gateway at this URL: https://bit.ly/ip-wth-loc
## Access to Online Stream
You can view the online stream on YouTube after making a donation to support my
volunteering initiative to help Ukrainian Armed Forces.:coffee: Please, visit the [Buy Me a Coffee](https://www.buymeacoffee.com/ytkach/e/210195).
Thank you in advance for your support! Слава Україні! :ukraine:
## Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```shell script
./gradlew quarkusDev
```> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
## Packaging and running the application
The application can be packaged using:
```shell script
./gradlew build
```
It produces the `quarkus-run.jar` file in the `build/quarkus-app/` directory.
Be aware that it’s not an _über-jar_ as the dependencies are copied into the `build/quarkus-app/lib/` directory.The application is now runnable using `java -jar build/quarkus-app/quarkus-run.jar`.
If you want to build an _über-jar_, execute the following command:
```shell script
./gradlew build -Dquarkus.package.type=uber-jar
```The application, packaged as an _über-jar_, is now runnable using `java -jar build/*-runner.jar`.
## Creating a native executable
You can create a native executable using:
```shell script
./gradlew build -Dquarkus.package.type=native
```Or, if you don't have GraalVM installed, you can run the native executable build in a container using:
```shell script
./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true
```You can then execute your native executable with: `./build/demo-1-en-status-page-1.0.0-SNAPSHOT-runner`
If you want to learn more about building native executables, please consult https://quarkus.io/guides/gradle-tooling.
## Related Guides
- RESTEasy Classic's REST Client ([guide](https://quarkus.io/guides/rest-client)): Call REST services
- YAML Configuration ([guide](https://quarkus.io/guides/config-yaml)): Use YAML to configure your Quarkus application
- AWS Lambda Gateway REST API ([guide](https://quarkus.io/guides/aws-lambda-http)): Build an API Gateway REST API with Lambda integration
- RESTEasy Classic ([guide](https://quarkus.io/guides/resteasy)): REST endpoint framework implementing Jakarta REST and more
- RESTEasy Classic Qute ([guide](https://quarkus.io/guides/qute)): Qute Templating integration for RESTEasy Classic