workshop/packages/http
2025-07-11 15:37:50 -07:00
..
src hmr with http 2025-07-11 15:37:50 -07:00
package.json We can now mark good and bad responses from spike! 2025-06-23 14:51:31 -07:00
README.md hmr with http 2025-07-11 15:37:50 -07:00
tsconfig.json I went a little crazy 2025-07-11 13:05:50 -07:00

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

  1. Create a new package in the packages directory.
  2. Add a subdomain:start script to the package.json file of the new package.
  3. Optionally add a subdomain:dev script for development (so you can add things like hot reloading).
  4. It uses the directory name of the package to serve the subdomain.