add dashboard frontend

This commit is contained in:
Gregor Vostrak
2024-03-11 18:02:54 +01:00
parent e8912650c0
commit 20fc123c36
86 changed files with 5124 additions and 849 deletions

View File

@@ -18,6 +18,8 @@ cp .env.example .env
./vendor/bin/sail artisan migrate:fresh --seed
./vendor/bin/sail php artisan passport:install
./vendor/bin/sail npm install
./vendor/bin/sail npm run build
@@ -52,6 +54,19 @@ npx playwright install
npx playwright codegen solidtime.test
```
## E2E Troubleshooting
If the E2E tests are not working consistently and fail with a timeout during the authentication, you might want to delete the `test-results/.auth` directory to force new test accounts to be created.
## Generate ZOD Client
The Zodius HTTP client is generated using the following command:
```bash
npm run generate:zod
```
## Contributing
This project is in a very early stage. The structure and APIs are still subject to change and not stable.