Files
crewli/apps/admin/README.md
bert.hausmans fda161ee09 chore: align migrations, docs, and frontends with crewli.app setup
- Replace dated migrations with ordered 2026_04_07_* chain; fold users update into base migration
- Update OrganisationScope, AppServiceProvider, seeders, api routes, and .env.example
- Refresh Cursor rules, CLAUDE.md, Makefile, README, and docs (API, SCHEMA, SETUP)
- Adjust admin/app/portal HTML, packages, api-client, events types, and theme config
- Update docker-compose and VS Code settings; remove stray Office lock files from resources

Made-with: Cursor
2026-04-07 10:45:34 +02:00

37 lines
715 B
Markdown

# Admin Dashboard
This folder will contain the Admin SPA using Vuexy Vue.
## Setup
1. Copy Vuexy Vue **full-version** (TypeScript) here:
```bash
cp -r /path/to/vuexy/typescript-version/full-version/* .
```
2. Install dependencies:
```bash
pnpm install
```
3. Create `.env.local`:
```env
VITE_API_URL=http://localhost:8000/api/v1
VITE_APP_NAME="Crewli Admin"
```
4. Start development:
```bash
pnpm dev
```
## Port
Runs on http://localhost:5173 (Vite default).
**Production:** point `VITE_API_URL` at your API, e.g. `https://api.crewli.app/api/v1`, with DNS/TLS for `admin.crewli.app` (and matching Laravel `FRONTEND_ADMIN_URL` / CORS / Sanctum settings — see repo `README.md` and `api/.env.example`).