3 ms·
Looks promising! Does deepstream work well as a standalone server or is it best used in combination with express.js if I am building a real-time web app?
by stemuk 7y ago
Looks promising! Does deepstream work well as a standalone server or is it best used in combination with express.js if I am building a real-time web app?
- yasserf 7y agoDeepstream works best as a standalone server! Ideally you would just configure it using a config file for your permissions (https://deepstream.io/tutorials/core/permission/valve-introduction/ https://deepstream.io/tutorials/core/permission/valve-introd...) and use http auth to authenticate your users (https://deepstream.io/tutorials/core/auth/http-webhook/ https://deepstream.io/tutorials/core/auth/http-webhook/). You can see this sort of configuration here https://deepstream.io/guides/live-progress-bar/ https://deepstream.io/guides/live-progress-bar/ If you want you could add a custom plugin that would take the HTTP server within deepstream and enhance it using express for all your non-deepstream routes, if you raise an issue for it I think it's something that can be done in the near future! But generally wouldn't recommend for non-pet projects since they serve two different purposes. Edit: Also thank you!