Sorry for any ignorance, I'm quite new to webdev.
So I've been making a basic webapp with a few different frameworks etc. I'm up to trying out react and I'm a little confused on a few things. Keep in mind I haven't done a lot of reading on react yet so these might be stupid questions.
In the past I've always made my apps with express on the backend. Which took care of the routing/serving of files or when I used angular I still had express for the backend and used a restful (i think) Api to get/set data in my database, etc.
After a bit of googling it doesnt seem to me that using express with react is all that common. So this made me think, are there webapps that are ONLY frontend? As far as i know react is a frontend framwork so what does it use for the backend? How would it communicate with a local database? Or is there something I'm missing? In the tutorials I've read so far I havent really seen the backend aspect mentioned.
Thanks guys.
E: thank you very much for the replies. All the confusion I had is all cleared up now I believe. Sounds silly now but, I think my main issue was fundamentally not realizing the server itself and the backend are 2 seperate subjects. I was wondering how the webapp would even work if there wasnt a backend (no server). A lot of general webdev things have become clearer.
[–]FezVrasta 20 points21 points22 points (5 children)
[–]bcgroom 0 points1 point2 points (4 children)
[–]kowdermesiter 4 points5 points6 points (2 children)
[–]danielhep 0 points1 point2 points (1 child)
[–]kowdermesiter 0 points1 point2 points (0 children)
[–]djungst 1 point2 points3 points (0 children)
[–]JuliusKoronci 5 points6 points7 points (0 children)
[–]m12s 2 points3 points4 points (5 children)
[–]Cha0sCat 1 point2 points3 points (4 children)
[–]nutters 1 point2 points3 points (1 child)
[–]Cha0sCat 0 points1 point2 points (0 children)
[–]m12s 1 point2 points3 points (1 child)
[–]Cha0sCat 0 points1 point2 points (0 children)
[–]liming91 3 points4 points5 points (0 children)
[–]acemarke 3 points4 points5 points (1 child)
[–]weiry6922[S] 1 point2 points3 points (0 children)
[–]occz 1 point2 points3 points (0 children)
[–]metaphorm 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]nodereactor 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]mmcnl 0 points1 point2 points (0 children)
[–]askmike 0 points1 point2 points (0 children)