JSM DocsMarkdown aus /home/ag/codex

2604_sudo-allow-gateway/README.md

2604_sudo-allow-gateway/README

JSM Portal

Project Bootstrap Template

This repository bootstraps backend/ with Laravel + Backpack for Laravel and frontend/ with Nuxt through a shared setup script.

It also initializes separate Git repositories inside backend/ and frontend/. If root-level AGENTS.md and audio2user.sh files exist, they are copied into both generated folders.

Recommendation

The actual setup logic lives in scripts/init-project.sh. npm and composer are only wrappers so the team can choose whichever entrypoint they prefer.

Usage

npm run init

or:

composer project:init

Configuration

You can override versions with environment variables:

LARAVEL_VERSION='^12.0' BACKPACK_VERSION='^6.0' NUXT_VERSION='latest' npm run init