add redis, cassandra support, change helpers to lib
Some checks failed
Code quality checks / biome (push) Failing after 9s
Some checks failed
Code quality checks / biome (push) Failing after 9s
This commit is contained in:
parent
a3555c73d2
commit
ab81475ad6
8 changed files with 145 additions and 6 deletions
19
.env.example
Normal file
19
.env.example
Normal 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=
|
Loading…
Add table
Add a link
Reference in a new issue