| .. | ||
| src | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
http
A proxy server that will start all subdomain servers and a proxy server to route requests to the correct subdomain based on the URL.
How to setup a subdomain server
- Create a new package in the
packagesdirectory. - Add a
subdomain:startscript to thepackage.jsonfile of the new package. - Optionally add a
subdomain:devscript for development (so you can add things like hot reloading). - It uses the directory name of the package to serve the subdomain.