Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuriytkach/stream-35-demo-app
Demo application for online YouTube stream #35
https://github.com/yuriytkach/stream-35-demo-app
demo-app lambda quarkus redis rest-api youtube-stream
Last synced: about 1 month ago
JSON representation
Demo application for online YouTube stream #35
- Host: GitHub
- URL: https://github.com/yuriytkach/stream-35-demo-app
- Owner: yuriytkach
- Created: 2023-03-27T20:07:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-07T22:21:35.000Z (over 1 year ago)
- Last Synced: 2024-04-20T00:42:03.534Z (9 months ago)
- Topics: demo-app, lambda, quarkus, redis, rest-api, youtube-stream
- Language: Java
- Homepage:
- Size: 370 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo Project for Online Stream #35 - Serverless Lambda with Redis
Demo project for online stream #35 about creating AWS lambda that uses Redis.## Access to Online Stream on YouTube
To get a link to online stream on YouTube please do the following:
- :moneybag: Make any donation to support my volunteering initiative to help Ukrainian Armed Forces by means described on [my website](https://www.yuriytkach.com/volunteer)
- :email: Write me an [email](mailto:[email protected]) indicating donation amount and time
- :tv: I will reply with the link to the stream on YouTube.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/stream-35-demo-app-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
- AWS Lambda Gateway REST API ([guide](https://quarkus.io/guides/amazon-lambda-http)): Build an API Gateway REST API
with Lambda integration
- RESTEasy Classic ([guide](https://quarkus.io/guides/resteasy)): REST endpoint framework implementing JAX-RS and more
- Redis Client ([guide](https://quarkus.io/guides/redis)): Connect to Redis in either imperative or reactive style## Provided Code
### RESTEasy JAX-RS
Easily start your RESTful Web Services
[Related guide section...](https://quarkus.io/guides/getting-started#the-jax-rs-resources)