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