Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salpreh/vertx-product-api
Products api with Vert.x
https://github.com/salpreh/vertx-product-api
demo-project java vertx
Last synced: 20 days ago
JSON representation
Products api with Vert.x
- Host: GitHub
- URL: https://github.com/salpreh/vertx-product-api
- Owner: salpreh
- Created: 2023-05-28T03:32:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-14T22:00:48.000Z (over 1 year ago)
- Last Synced: 2024-11-01T02:23:32.043Z (2 months ago)
- Topics: demo-project, java, vertx
- Language: Java
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Products
A demo web server REST API project using [Vert.x](http://start.vertx.io).
## Building
To launch your tests:
```sh
./mvnw clean test
```To package your application:
```sh
./mvnw clean package
```## Running
Boot a postgres DB. There is a docker-compose file in the root of the project that will do this for you:
```sh
docker-compose up -d
```Run flyway migrations to create the database schema:
```sh
./mvnw flyway:migrate
```To run your application:
```sh
./mvnw clean compile exec:java
```## Help
- [Documentation](https://vertx.io/docs/)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/vert.x?sort=newest&pageSize=15)
- [User Group](https://groups.google.com/forum/?fromgroups#!forum/vertx)
- [Discord](https://discord.gg/6ry7aqPWXy)
- [Gitter](https://gitter.im/eclipse-vertx/vertx-users)## Ref
- https://vertx.io/docs/vertx-web-api-service/java/#_using_vert_x_api_service
- https://how-to.vertx.io/hibernate-reactive-howto/
- https://vertx.io/docs/vertx-sql-client-templates/java/#_getting_started
- https://www.zsiegel.com/2019/07/03/dependency-injection-with-vertx
- https://taraskohut.medium.com/vert-x-micronaut-do-we-need-dependency-injection-in-the-microservices-world-84e43b3b228e## Notes
Current implementation with hibernate. Previous implementation with vertx-sql-client-templates in `feature/sql-client-template` branch.