mono-xs
offers a monorepo structure that leverages Turborepo to efficiently manage Next.js and Nestjs applications.
This is a primitive template generated using the Turborepo CLI and NestJS CLI, so feel free to modify it to fit your specific needs and start developing. You don’t have to use everything in the template.
I've recently been enjoying deploying the backend to the Fly.io platform, so Dockerfiles and related configurations are included.
While this setup enables deployment to multiple platforms, if you, like me, also favor Fly.io, you'll find that there's virtually no configuration needed from development to deployment.
- Monorepo structure (in this case, using Turborepo)
- Docker (if you intend to use Fly.io)
- Nestjs framework
- Next.js framework
In this section, the process of deploying to the Fly.io platform is briefly explained.
fly apps create
Refer to Fly.io Docs
The necessary details have been commented in each fly.toml file.
# Deploy a Single App
fly deploy --config fly.your-fly-app-name.toml
# Deploy All at Once
# You need to specify the respective fly.toml file names in the fly.deploy.sh file.
chmod +x fly.deploy.sh
./fly.deploy.sh
You can attach your desired database stack and use it with this. (I use PostgreSQL)
I prefer to avoid repetitive tasks and enjoy increasing productivity. I believe this repository will be very helpful for specific workflows.
Develop your ideas fast, ship them even faster🚀