How does atom-shell host the app?


#1

In a web app, one runs with a server and any calls client/browser goes to /resources go to the baseUrl of the server. So for instance, if the server is running on http://localhost:3000, a resource fetch for ‘assets/pic.jpeg’ goes to http://localhost:3000/assets/pic.jpeg.

Where are resource fetches going to go for an atom-shell app? Is it possible to host one’s own server api in atom-shell.

I did read somewhere about “ipc in atom-shell” being like the “socket.io of node”. The question, however, is whether regular fetching of REST endpoints is an option. This would be handy for running my single-page-applications in atom-shell, provided I can host the data-backend within it.

Please let me know if my thoughts aren’t clear.