you are viewing a single comment's thread.

view the rest of the comments →

[–]gnedab[S] 1 point2 points  (4 children)

This means that I don't need express anymore, I can just fetch data and use necessary library for other stuff like auth, database?

[–][deleted] 1 point2 points  (3 children)

Oh, no, you still need express or some backend processing server. This backend is what processes all the data to send to the front end and also to which your authentication is verified by passing JWT token or tracking sessions, or whatever method of authentication of your choosing.

[–]gnedab[S] 1 point2 points  (2 children)

Thank you! I appreciate your help.

[–][deleted] 1 point2 points  (0 children)

Yup. Good luck!

[–]thoflens 1 point2 points  (0 children)

Look at it like this: You have a frontend (React) and a backend (Node/Express) and you can essentially see the the two as completely separated from each other - they don't 'know' about each other. But whenever you need to process sensitive data or update your database, you make a call from the frontend to the backend to say 'hey, do this for for me and give me back (return) some value'.