3 ms·
A website is a document. An API is a computer program. Neither of these requires an internet connection. localhost:3000 can make requests against localhost:3001
by schwartzworld 5y ago
A website is a document. An API is a computer program. Neither of these requires an internet connection. localhost:3000 can make requests against localhost:3001 just fine.
I make websites at home and serve them on my local network. Anybody attached to our wifi can visit them, even if that wifi isn't connected to the larger internet.