Skip to content

Setup step 1 CLI questions #4

@mathieusouflis

Description

@mathieusouflis

Problem statement


Proposed solution

Using ... library setup this flow :

$ scaffold new
? Project type: (Monorepo / Single App)
→ Monorepo

? Services in monorepo: (api / frontend / worker / all)
→ api, frontend

? API architecture: (REST / gRPC / both)
→ REST

? Database: (PostgreSQL / SQLite / None)
→ PostgreSQL

? Authentication: (JWT / OAuth / Session / None)
→ JWT

? Deployment: (Docker / Kubernetes / None)
→ Docker

? CI/CD: (GitHub Actions / GitLab CI / None)
→ GitHub Actions

[Generated spec saved]

Output what got generated :

{
  "project_name": "my-app",
  "project_type": "monorepo",
  "services": [
    {
      "name": "api",
      "type": "api",
      "framework": "go",
      "architecture": "rest",
      "database": "postgresql",
      "auth": "jwt"
    },
    {
      "name": "frontend",
      "type": "frontend",
      "framework": "react",
      "build_tool": "vite"
    }
  ],
  "deployment": {
    "type": "docker",
    "ci_cd": "github_actions"
  },
  "cli_modules": true
}

Alternatives considered

No response

Area

Core

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions