https://github.com/duartemcsilva/stock-echoes-server
Project to exploring Quarkus possibilities
https://github.com/duartemcsilva/stock-echoes-server
java quarkus sql
Last synced: 9 months ago
JSON representation
Project to exploring Quarkus possibilities
- Host: GitHub
- URL: https://github.com/duartemcsilva/stock-echoes-server
- Owner: DuarteMCSilva
- Created: 2025-03-01T11:39:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-05T18:32:41.000Z (9 months ago)
- Last Synced: 2025-10-05T20:36:59.886Z (9 months ago)
- Topics: java, quarkus, sql
- Language: Java
- Homepage:
- Size: 130 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stock-echoes-server
````mermaid
classDiagram
class User {
- id: Long
- name: String
- email: String
- birth_date: String
}
class Portfolio {
- id: Long
- user_id: Long
- name: String
- created: Date
}
class Ticker {
- isin: String
- symbol: String
- company_name: String
}
class Holding {
- id: String
- portfolio_id: Long
- symbol: String
- name: String
- quantity: int
- avgCost: BigDecimal
}
class Transaction {
- id: Long
- portfolio_id: Long
- date: Date
- quantity: int
- price: BigDecimal
}
%% Relationships
User "1" --> "*" Portfolio
Portfolio "1" --> "*" Holding
Portfolio "1" --> "*" Transaction
Transaction "*" -->"1" Ticker
````
## Extensions
To add an extension, you can write the command:
```shell script
./mvnw quarkus:add-extension -Dextensions='(extension name)'
```
| Dependency | Purpose | Use Case |
|-----------------------------|--------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|
| **`hibernate-orm-panache`** | ORM framework to map Java objects to database tables and simplify DB access. | Used for interacting with relational databases using Java objects (CRUD operations). |
| **`jdbc-postgresql`** | JDBC driver for PostgreSQL, allowing Java applications to connect to PostgreSQL databases. | Used to directly connect Java applications to PostgreSQL databases via JDBC. |
| **`resteasy`** | JAX-RS implementation to build RESTful web services in Java. | Used for creating REST APIs and handling HTTP requests and responses. |
| **`resteasy-jackson`** | Integrates Jackson for JSON serialization/deserialization in RESTful services. | Automatically converts Java objects to JSON and vice versa in RESTful APIs. |
| **`lombok`** | Reduces the necessity of writing boilerplate code. | Automatically creates getters, setters and other methods when @Data is used on Entities |
| **`quarkus-resteasy-multipart`** | Enables receiving complex form-data in the body of requests | |
### REST
Easily start your REST Web Services
[Related guide section...](https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources)