'How to start NodeJS Server when opening website?
my question is: How can i start my server from my website server-folder when its online? I haven't uploaded my server folder so far.
currently, my folder structure is:
public
- index.html
- index.css
- index.js
server
- server.js
When i open my website, i also want my server to run, so i can make requests to it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
