Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
node_modules
node_modules
dist
build
.svelte-kit
11 changes: 11 additions & 0 deletions .sample.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ENV_TYPE=dev

DATABASE_URL=postgres://sosweetham:password@host.docker.internal:5432/syner
IDENTITY_DATABASE_URL=postgres://sosweetham:password@host.docker.internal:5432/identitydb
PUBLIC_BASE_URI = "http://192.168.1.17:1209/api"
PUBLIC_WS_URI = "ws://192.168.1.17:1209/api/ws"
PUBLIC_CLIENT_URI= "http://192.168.1.17:5173"
PUBLIC_ADMIN_DID=signer.auvo.io
SESSION_SECRET=hahalol

SENDGRID_KEY=
3 changes: 2 additions & 1 deletion apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "eslint . && prettier --check .",
"format": "prettier --write ."
"format": "prettier --write .",
"check-types": "tsc --noEmit"
},
"devDependencies": {
"@fontsource/fira-mono": "^5.0.0",
Expand Down
5 changes: 4 additions & 1 deletion apps/client/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ const config = {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
adapter: adapter(),
env: {
dir: '../../'
}
},

extensions: ['.svelte', '.svx']
Expand Down
48 changes: 23 additions & 25 deletions apps/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
{
"compilerOptions": {
"module": "NodeNext",
"declaration": true,
"moduleResolution": "nodenext",
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"strictPropertyInitialization": false,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
}, "include": [
"./src/**/*",
],

}
"module": "NodeNext",
"declaration": true,
"moduleResolution": "nodenext",
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"strictPropertyInitialization": false,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false
},
"include": ["./src/**/*"]
}
16 changes: 6 additions & 10 deletions dev.docker-compose.yml → docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
services:
client:
container_name: client
networks:
- host-bridge
build:
context: .
dockerfile: ./docker/dev/Dockerfile.client
Expand All @@ -14,16 +12,16 @@ services:
watch:
- action: sync
path: ./apps/client
target: /usr/src/app/client
target: /usr/src/app/apps/client
ignore:
- node_modules
- action: rebuild
path: ./apps/client/package.json
- action: rebuild
path: ./packages
depends_on:
- server
server:
networks:
- host-bridge
container_name: server
build:
context: .
Expand All @@ -34,14 +32,12 @@ services:
watch:
- action: sync
path: ./apps/server
target: /usr/src/app/core-api
target: /usr/src/app/apps/server
ignore:
- node_modules
- action: rebuild
path: ./apps/server/package.json
- action: rebuild
path: ./packages
env_file:
- .env

networks:
host-bridge:
driver: bridge
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
},
"dependencies": {
"moment": "^2.30.1"
},
"devDependencies": {
"turbo": "^2.2.3"
}
}
7 changes: 4 additions & 3 deletions packages/dtos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"check-types": "tsc --noEmit"
"check-types": "tsc --noEmit",
"prepare": "nest build"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@nestjs/cli": "^10.0.0",
"typescript": "^5.6.3"
},
"dependencies": {
"@digitalcredentials/bitstring": "^3.1.2",
"@nestjs/swagger": "^7.3.1",
"@sphereon/pex-models": "2.0.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1"
"class-validator": "^0.14.1",
"@nestjs/cli": "^10.0.0"
},
"main": "./src/index.ts",
"exports": {
Expand Down
3 changes: 2 additions & 1 deletion packages/dtos/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false
}
},
"include": ["src/**/*.ts"]
}
71 changes: 68 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env"],
"tasks": {
"build": {
"outputs": ["dist/**", "build/**", ".svelte-kit/output/**"],
"inputs": ["$TURBO_DEFAULT$", ".env"]
},
"check-types": {
"dependsOn": ["^check-types"]
},
"dev": {
"persistent": true,
"cache": false
}
}
}