add redis, cassandra support, change helpers to lib
Some checks failed
Code quality checks / biome (push) Failing after 9s

This commit is contained in:
creations 2025-05-01 15:32:09 -04:00
parent a3555c73d2
commit ab81475ad6
Signed by: creations
GPG key ID: 8F553AA4320FC711
8 changed files with 145 additions and 6 deletions

19
.env.example Normal file
View file

@ -0,0 +1,19 @@
# NODE_ENV=development
HOST=0.0.0.0
PORT=8080
# Redis (Required)
REDIS_URL=redis://localhost:6379
REDIS_TTL=3600
# Cassandra (Required)
CASSANDRA_HOST=localhost
CASSANDRA_PORT=9042
CASSANDRA_DATACENTER=datacenter1
CASSANDRA_CONTACT_POINTS=localhost
# Optional
CASSANDRA_KEYSPACE=
CASSANDRA_USERNAME=
CASSANDRA_AUTH_ENABLED=false
CASSANDRA_PASSWORD=