spacenest-cli

Scaffold a nestjs application with docker build setup, k8s infrastructure and devspace config.

Usage no npm install needed!

<script type="module">
  import spacenestCli from 'https://cdn.skypack.dev/spacenest-cli';
</script>

README

SpaceNest-CLI

Scaffold a nestjs application with docker build setup, k8s infrastructure and devspace config.

Configuration

Add spacenest.config.json at root.

{
  "containerRegistry": "myregistry.azurecr.io",
  "createPullSecret": true,
  "directory": "packages",
  "db": "mysql"
}

This will tell devspace tp use image pull secret in kubernets named acr. Changed for whatever you named it.

Create a package creates a package under packages directory. Use --directory <dirname> option to set directory.

create-package --directory ./packages demo-app