-
Importing and exporting multiple type defiitions from different apps in a services folder.
-
Showing an service consuming importinng another private service's type information.
-
Shows an example of a elysia plugin being imported from an internal pkgs folder and then being consumed.
-
Demonstrating how to use
edenTreaty
on the server to call sister services.- *This is assuming each service is on a different deployment.
- run each server in a new terminal instance
- visit http://localhost:3000
- Inspect the logs to se where each service was called from
Disclaimer: Typically each service would be on it's own deployment, make sure proper security and best practices are in place. This is just a demo for discord.