Compare commits
4 Commits
main
...
c8a1158a6d
| Author | SHA1 | Date | |
|---|---|---|---|
| c8a1158a6d | |||
| 0bd01caf23 | |||
| 8a63ba1fee | |||
| 6335179ac6 |
22
README.md
22
README.md
@@ -5,28 +5,10 @@
|
|||||||
```mermaid
|
```mermaid
|
||||||
classDiagram
|
classDiagram
|
||||||
class Activity {
|
class Activity {
|
||||||
+Long id
|
|
||||||
+String name
|
+String name
|
||||||
+Location location
|
+Location location
|
||||||
+Integer priceRange
|
+Int priceRange
|
||||||
+List~String~ tags
|
+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:
|
server:
|
||||||
port: 8090
|
port: 8080
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /api
|
context-path: /api
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ spring:
|
|||||||
|
|
||||||
# Database Configuration
|
# Database Configuration
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://dind:5432/vibing
|
url: jdbc:postgresql://localhost:5432/vibing
|
||||||
username: vibing
|
username: vibing
|
||||||
password: vibing
|
password: vibing
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
|
|||||||
@@ -9,6 +9,3 @@ services:
|
|||||||
POSTGRES_DB: vibing
|
POSTGRES_DB: vibing
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgres_data:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user