Long story short, I have an existing Next 15 front end website and an existing separate Next 15 API only site. Both access data via a package (plus a bunch of other packages to keep it all DRY). E.g. website can get products from the shared database and API can also get same products with same code.
So, now I come across Payload and realise want to replace my DIY CMS with it, but use Payload's Local API in both apps, therefore thinking Payload should be a created as a Package and imported to both.
Any thoughts how I'd go about this please?