README.md
You have a single codebase with multiple NestJS apps as defined in: https://docs.nestjs.com/cli/monorepo
How do you run each on Heroku? You don't. Heroku applications assume one repo to one application.
Enter the NestJS Monorepo buildpack, which updates package.json in the root of your NestJS project by adding the defined app to the scripts.
Procfile and enter your command: web: npm run start:prod
NEST_APP=app name
heroku buildpacks:add -a <app> https://github.com/blubblub/heroku-buildpack-nest-monorepo
git push git@heroku.com:<app> main
-i 1 to the heroku buildpacks:add command.jq being installed (by default already on Heroku-20 stack)build, start and start:prod commands.NEST_APP, you will have to redeploy, as Heroku does not run buildpack in this case.Dal Rupnik legoless@gmail.com
For new applications:
For existing applications: