I have 3 views, (Home, signup, login)made in reactJs, I want to use passport in my project but I dont know how to do it, I have passport configurated and it url is working.
我有3个视图,(Home, signup, login)都是用反应堆js做的,我想在我的项目中使用passport,但是我不知道怎么做,我已经配置了passport,并且它的url还在工作。
What can I do to manage the session and the user data like we do in ejs or jade?
如何像在ejs或jade中那样管理会话和用户数据?