Compare commits
2 Commits
408b0a7259
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 41020cdc00 | |||
| b4cd05e7b2 |
22
README.md
22
README.md
@@ -5,10 +5,28 @@
|
||||
```mermaid
|
||||
classDiagram
|
||||
class Activity {
|
||||
+Long id
|
||||
+String name
|
||||
+Location location
|
||||
+Int priceRange
|
||||
+Integer priceRange
|
||||
+List~String~ tags
|
||||
+String description
|
||||
+LocalDateTime createdAt
|
||||
+LocalDateTime updatedAt
|
||||
}
|
||||
```
|
||||
|
||||
class Location {
|
||||
+Long id
|
||||
+String name
|
||||
+String address
|
||||
+String city
|
||||
+String country
|
||||
+String postalCode
|
||||
+Double latitude
|
||||
+Double longitude
|
||||
+LocalDateTime createdAt
|
||||
+LocalDateTime updatedAt
|
||||
}
|
||||
|
||||
Activity <-- Location : belongs to
|
||||
```
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server:
|
||||
port: 8080
|
||||
port: 8090
|
||||
servlet:
|
||||
context-path: /api
|
||||
|
||||
@@ -9,7 +9,7 @@ spring:
|
||||
|
||||
# Database Configuration
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/vibing
|
||||
url: jdbc:postgresql://dind:5432/vibing
|
||||
username: vibing
|
||||
password: vibing
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
@@ -9,3 +9,6 @@ services:
|
||||
POSTGRES_DB: vibing
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user