I'm very new to backend coding and I'm having a hard time understanding what a "full stack" application would look like. Is that so:
index.html
, which contains <script src="main.jsx"></script>
(if this is the case situation, how will the .jsx
content be compiled into javascript for the browser?) .json
) A front-end application (you can initialize with Vite or CRA) that gets the data from that server?
Both ways are correct, your server can serve content to the client (first case) or send data to the client (
json
,xml
wait).Please note that when you use React and
.jsx
components, you need to build the project and serve it via theexpress
server includingjs
,css html file containing
.