Hello , I am wondering if it’s possible to use Django & phoenix as a backend service??
I already have a Django API deployed using (Nginx + Gunicorn + Postgres database) , and I want to add real-time chat to my app with phoenix , I am doing the right thing here ?
No, I am not willing to migrate everything to phoenix, I plan to implement another API for real-time communication with phoenix , the trick is how to secure it
Sure. You could look into Pyrlang for creating a communication channel between Django and your Phoenix chat app. I would probably keep all the templates in Django. On the Phoenix server, you would make calls to your Pyrlang node (which would call whatever Django token verification code) to verify tokens for authentication.
Other important thing to consider is: Is this just for fun, or for money?
Do you have to pull a team with you?
If its just you / just for fun, go for Phoenix, if not, harder decision.