Using NodeJs with Firebase - Security

后端 未结 2 506
名媛妹妹
名媛妹妹 2020-12-07 08:22

Due to the need to do some server side code - mainly sending emails I have decided to use Nodejs & Express for the server side element along with Firebase to hold the da

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 09:23

    The above seems like a roundabout way of doing things, I would use something like https://www.npmjs.com/package/connect-session-firebase and keep firebase as the model, handling all routes through express. Easier if your express server is rendering templates and not just behaving as a JSON API.

提交回复
热议问题