Redis

How do I implement Redis in my app on railway and use it?
33 Replies
Percy
Percy17mo ago
Project ID: cbf50408-4c4f-4a5e-adcf-0f5cdbd02b69
KennyTech
KennyTech17mo ago
cbf50408-4c4f-4a5e-adcf-0f5cdbd02b69
Brody
Brody17mo ago
read some tutorials watch some YouTube videos, etc. I apologize but these threads are not for us to teach you how to program
KennyTech
KennyTech17mo ago
I have seen no videos on this, I went to the docs and saw how to add redis variables. I didn't see their value in the railway docs that is why I'm here If you have reference(s) just paste it and I will follow
Brody
Brody17mo ago
add a redis plugin, then setup the variable references in your service, then use the environment variables in your code to connect
KennyTech
KennyTech17mo ago
Wow thanks, but please one more, the redis plugins is on the railway platform where my app is hosted, or I should add it as an npm package in my app?
Brody
Brody17mo ago
you would need to add the redis database plugin to your project on railway, to connect to the redis database you would need to use a package to connect to redis
KennyTech
KennyTech17mo ago
Wow, this is now sounding kind of difficult, is there any reference online you could point to me so that I can follow. Cause in the docs I didn't see the plugins and database setups as steps before implementing redis
Brody
Brody17mo ago
it's not difficult, you might just be overthinking it as for how to use redis, that's something you will have to learn yourself, as I said above these threads are not for us to teach you how to program
KennyTech
KennyTech17mo ago
Mr Brody I'm not asking how to program. I'm asking how to use your services
Brody
Brody17mo ago
^
KennyTech
KennyTech17mo ago
That's why I'm asking for references
Brody
Brody17mo ago
have you added a redis database plugin to your project yet?
KennyTech
KennyTech17mo ago
Ok. Thanks I was working on it before I became too frustrated and shutdown my system I will follow your instructions If any issues I will come back Thanks 🙏
Brody
Brody17mo ago
?
Want results from more Discord servers?
Add your server