Files
quasar/backend/package.json
Benito Rodríguez 630ebe0dc8 feat: implement complete game management with CRUD functionality
Backend:
- Add RESTful API endpoints for games: GET, POST, PUT, DELETE /api/games
- Implement GamesController for handling game operations
- Validate game input using Zod
- Create comprehensive tests for all endpoints

Frontend:
- Develop GameForm component for creating and editing games with validation
- Create GameCard component for displaying game details
- Implement custom hooks (useGames, useCreateGame, useUpdateGame, useDeleteGame) for data fetching and mutations
- Build Games page with a responsive table for game management
- Add unit tests for GameForm and Games page components

Tests:
- Ensure all backend and frontend tests pass successfully
- Achieve 100% coverage for new features

All changes are thoroughly tested and validated.
2026-02-11 22:09:02 +01:00

47 lines
1.4 KiB
JSON

{
"name": "quasar-backend",
"version": "0.1.0",
"private": true,
"type": "commonjs",
"main": "dist/index.js",
"scripts": {
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/index.js",
"test": "vitest run",
"test:ci": "vitest run",
"prisma:generate": "prisma generate --schema=./prisma/schema.prisma",
"prisma:migrate": "prisma migrate dev --name init --schema=./prisma/schema.prisma",
"prisma:migrate:deploy": "prisma migrate deploy --schema=./prisma/schema.prisma",
"prisma:studio": "prisma studio --schema=./prisma/schema.prisma",
"lint": "eslint \"src/**/*.{ts,js}\"",
"format": "prettier --write ."
},
"dependencies": {
"@fastify/cors": "^9.0.0",
"@fastify/helmet": "^11.0.0",
"@fastify/multipart": "^9.0.0",
"@fastify/rate-limit": "^9.0.0",
"@prisma/client": "6.19.2",
"dotenv": "^16.0.0",
"fastify": "^4.28.0",
"pino": "^8.0.0",
"undici": "^5.18.0",
"zod": "^3.22.0"
},
"devDependencies": {
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"fast-xml-parser": "^5.3.5",
"prettier": "^2.8.0",
"prisma": "6.19.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.2.0",
"vitest": "^0.31.0"
},
"metadata": {
"autor": "GitHub Copilot",
"ultima_actualizacion": "2026-02-07"
}
}