Can I host Frontend and Backend on the same repl without making a new one?
Yes you can. Use Python and HTML (Flask) or node.js and HTML (Express).
2 Likes
I want Python (Flask) as my backend and JavaScript (Next.js) as my frontend, Can I do that in only one repl?
No, you cannot use flask with Next.js
Since you are using JavaScript for your front-end, you might as well stick to using node for your server side scripts.
Are you sure that’s how Next.js works?
I just did some further research and I think I am wrong. Normally you can import things like three.js from the HTML, looks like this isn’t the case for next.js