Hi there, a simple, stupid newbie question:
Have created a project, with backend using Moralis for API calls to read Smart Contract’s various functions. All working great. Am typing “node index.js” and at http://localhost:3001 am receiving API calls (for example: http://localhost:3001/getNameAndBalance)
however, if I close VS code and open up again, always need to run "node index.js) to get the results.
Now, once I upload my project to real server and make it online on Internet, how the hell am I gonna get the API calls? what exactly should I change to make it run automatically once ppl go to my website and connect wallet?
Thanks a lot