refactor: restructure to monorepo with backends and apiTest

- Move web/backend to backends/potter-api
- Move web/frontend to backends/potter-api/frontend
- Add root package.json with npm workspaces
- Update README.md with monorepo navigation
- Update .github/workflows/api-tests.yml for dynamic test discovery
- Update bruno_test_scenario.md paths
- Fix .gitignore to allow JSON data files
- Add three new AI tests in apiTest/PotterAPI/AI/

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
kankys committed 2026-09-15 21:08:39 +02:00
1 parent 2e185b47ef
commit d0cdabbf11
57 files changed
+292 -35

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
{
"name": "api-test-playground",
"version": "1.0.0",
"description": "Monorepo for API testing playground with Bruno and Vibe agents",
"private": true,
"workspaces": [
"backends/*",
"backends/*/frontend",
"apiTest/*"
],
"scripts": {
"setup": "npm install",
"start:all": "concurrently \"npm run start:backends\" \"npm run test:watch\"",
"start:backends": "cd backends/potter-api && npm start",
"start:potter-api": "cd backends/potter-api && npm start",
"start:potter-fe": "cd backends/potter-api/frontend && npm run serve",
"test:all": "cd apiTest && npx @usebruno/cli run PotterAPI -r",
"test:potter": "cd apiTest/PotterAPI && npx @usebruno/cli run -r",
"test:watch": "cd apiTest && npx @usebruno/cli run PotterAPI -r --watch",
"lint": "echo \"Linting all workspaces\""
},
"devDependencies": {
"concurrently": "^8.2.2"
},
"keywords": [
"api-testing",
"bruno",
"monorepo",
"potter-api"
],
"author": "",
"license": "ISC"
}