简体   繁体   中英

Using react and communicate with backend

so im trying to create a simple fullstack app (movies board) to learn react but im having some questions/doubts. Im used to create backend mvc app's with express. So for react i need to create a RESTful API right? if yes how can i protect the api against "public use"?

you need to implement some kind of authorization to secure the API. Try to use OAuth

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM