Feature/Use fastify instead of express (#1)

- Replaced Apollo Server with Mercurius for GraphQL API
- Updated resolvers to use Mercurius-compatible GraphQL implementation
- Migrated from Express to Fastify for server framework
- Improved error handling with GraphQL error extensions
- Added Zod for environment variable validation
- Updated Prisma schema and migrations
- Configured CORS and WebSocket subscriptions
- Simplified GraphQL schema and resolver structure
- Enhanced type safety and code organization
- Replaced Apollo Server with Mercurius for GraphQL API
- Updated resolvers to use Mercurius-compatible GraphQL implementation
- Migrated from Express to Fastify for server framework
- Improved error handling with GraphQL error extensions
- Added Zod for environment variable validation
- Updated Prisma schema and migrations
- Configured CORS and WebSocket subscriptions
- Simplified GraphQL schema and resolver structure
- Enhanced type safety and code organization

Reviewed-on: #1
Co-authored-by: Jusemon <juansmm@outlook.com>
Co-committed-by: Jusemon <juansmm@outlook.com>
This commit is contained in:
Juan Sebastián Montoya 2025-03-06 19:15:56 -05:00 committed by Juan Sebastián Montoya
parent b4e5a04126
commit 6214b503bc
47 changed files with 4968 additions and 5424 deletions

View file

@ -5,20 +5,21 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"check-types": "tsc --noEmit"
"build": "tsc -b && vite build",
"preview": "vite preview"
},
"dependencies": {
"@urql/core": "^5.1.1",
"graphql": "^16.8.1",
"@urql/solid": "^0.1.2",
"graphql-ws": "^6.0.4",
"solid-js": "^1.8.15",
"@urql/solid": "^0.1.2"
"solid-js": "^1.9.5",
"zod": "^3.24.2"
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vite-plugin-solid": "^2.10.1"
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"typescript": "5.8.2",
"vite": "^6.2.0",
"vite-plugin-solid": "^2.11.2"
}
}