feat: major API restructure and Vue.js frontend integration

- Centralize API endpoints in dedicated api app with v1 versioning
- Remove individual API modules from parks and rides apps
- Add event tracking system with analytics functionality
- Integrate Vue.js frontend with Tailwind CSS v4 and TypeScript
- Add comprehensive database migrations for event tracking
- Implement user authentication and social provider setup
- Add API schema documentation and serializers
- Configure development environment with shared scripts
- Update project structure for monorepo with frontend/backend separation
This commit is contained in:
pacnpal
2025-08-24 16:42:20 -04:00
parent 92f4104d7a
commit e62646bcf9
127 changed files with 27734 additions and 1867 deletions

View File

@@ -1,29 +1,51 @@
{
"name": "thrillwiki-monorepo",
"name": "thrillwiki-fullstack",
"version": "1.0.0",
"description": "ThrillWiki Django + Vue.js Monorepo",
"description": "ThrillWiki theme park and ride information system",
"private": true,
"packageManager": "pnpm@9.0.0",
"workspaces": [
"frontend"
],
"scripts": {
"dev": "concurrently \"pnpm run dev:backend\" \"pnpm run dev:frontend\"",
"dev:backend": "cd backend && uv run manage.py runserver",
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"dev:backend": "cd backend && lsof -ti :8000 | xargs kill -9; find . -type d -name \"__pycache__\" -exec rm -r {} +; uv run manage.py runserver",
"dev:frontend": "cd frontend && pnpm run dev",
"build": "pnpm run build:frontend && cd backend && uv run manage.py collectstatic --noinput",
"build:frontend": "cd frontend && pnpm run build",
"test": "pnpm run test:backend && pnpm run test:frontend",
"test:backend": "cd backend && uv run manage.py test",
"dev:full": "./shared/scripts/dev/start-all.sh",
"dev:setup": "./shared/scripts/dev/setup-dev.sh",
"build": "cd frontend && pnpm run build",
"build:staging": "cd frontend && pnpm run build --mode staging",
"build:production": "cd frontend && pnpm run build --mode production",
"build:frontend": "./shared/scripts/build/build-frontend.sh",
"build:all": "./shared/scripts/build/build-all.sh",
"build:clean": "./shared/scripts/build/build-all.sh --clean",
"preview": "cd frontend && pnpm run preview",
"install:all": "cd backend && uv sync && cd ../frontend && pnpm install",
"setup": "./shared/scripts/dev/setup-dev.sh",
"type-check": "cd frontend && pnpm run type-check",
"lint": "cd frontend && pnpm run lint",
"lint:fix": "cd frontend && pnpm run lint",
"format": "cd frontend && pnpm run format",
"test": "concurrently \"npm run test:backend\" \"npm run test:frontend\"",
"test:backend": "cd backend && uv run python -m pytest",
"test:frontend": "cd frontend && pnpm run test",
"lint": "cd frontend && pnpm run lint && cd ../backend && uv run flake8 .",
"format": "cd frontend && pnpm run format && cd ../backend && uv run black ."
"test:full": "./shared/scripts/build/build-all.sh --no-checks",
"deploy": "./shared/scripts/deploy/deploy.sh",
"deploy:dev": "./shared/scripts/deploy/deploy.sh dev",
"deploy:staging": "./shared/scripts/deploy/deploy.sh staging",
"deploy:production": "./shared/scripts/deploy/deploy.sh production",
"docs:api": "echo 'API documentation available at: shared/docs/api/README.md'",
"docs:dev": "echo 'Development workflow available at: shared/docs/development/workflow.md'",
"clean": "rm -rf frontend/dist backend/staticfiles deploy build-report* deployment-report*",
"clean:all": "npm run clean && rm -rf backend/.venv frontend/node_modules"
},
"devDependencies": {
"concurrently": "^8.2.2"
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
}
"keywords": [
"theme-park",
"roller-coaster",
"django",
"vue",
"typescript",
"pinia"
],
"author": "ThrillWiki Team",
"license": "MIT"
}