Skip to content

worksofrex/nodejs_redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs_redis

Node.js redis integration.

[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node src/index.ts`
🎇 Database connected successfully !
⚡  Redis connected successfully!
🚀 Server running on port 4444 !

Environment variables

PORT=3000
DATABASE_URL="mongodb+srv://<username>:<password>@<host>:<port>/<database>?authSource=admin"
REDIS_URL="redis://localhost:6379"

# Time to auto delete set values
REDIS_EXPIRY_TIME=10
`
``

About

nodejs & redis tryout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors