Skip to content
Merged
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
24 changes: 23 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,29 @@ DATABASE_URL=postgresql://postgres:password@localhost:5432/neurowealth
# Redis
REDIS_URL=redis://localhost:6379

# JWT
# Generate with: openssl rand -hex 64
JWT_SEED=generate_with_openssl_rand_hex_64

# Wallet encryption
# Generate with: openssl rand -hex 32
WALLET_ENCRYPTION_KEY=generate_with_openssl_rand_hex_32

# WhatsApp (optional for local dev)
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
WHATSAPP_FROM=whatsapp:+14155238886
WHATSAPP_FROM=whatsapp:+14155238886

# JWT
JWT_SEED=your_jwt_secret_seed_here
JWT_SESSION_TTL_HOURS=24
JWT_NONCE_TTL_MS=300000
JWT_CLEANUP_INTERVAL_MS=8

# Docker / Postgres (used by docker-compose.yml)
# Database name used by the Postgres container
DB_NAME=postgres
# Postgres password for the `postgres` user (set to a secure value in production)
DB_PASSWORD=password
# Name of the Postgres container (used for Docker networking)
DB_CONTAINER_NAME=neurowealth_db
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ node_modules
.env
dist
logs/*.log


.agents/
skills-lock.json
postgres/
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: '3'

services:
db:
image: postgres:14.4
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_NAME}
container_name: ${DB_CONTAINER_NAME}
volumes:
- ./postgres:/var/lib/postgresql/data
145 changes: 141 additions & 4 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,21 @@
"@anthropic-ai/sdk": "^0.78.0",
"@prisma/client": "^5.22.0",
"@stellar/stellar-sdk": "^14.5.0",
"bcryptjs": "^3.0.3",
"cors": "^2.8.6",
"dotenv": "^17.3.1",
"express": "^5.2.1",
"express-rate-limit": "^8.2.1",
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.3",
"winston": "^3.19.0"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.3.0",
"jest": "^30.2.0",
"nodemon": "^3.1.14",
Expand Down
Loading