refactor: migrate API from Apollo Server to Mercurius and enhance GraphQL implementation

- 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
This commit is contained in:
Juan Sebastián Montoya 2025-03-06 03:04:40 -05:00
parent b4e5a04126
commit 19bb0b5bdf
41 changed files with 4983 additions and 3621 deletions

View file

@ -1,4 +1,4 @@
import { config } from "@repo/eslint-config/react-internal";
import { config } from '@repo/eslint-config/solid-js';
/** @type {import("eslint").Linter.Config} */
export default config;

View file

@ -14,14 +14,9 @@
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"@turbo/gen": "^2.4.4",
"@types/node": "^22.13.9",
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"eslint": "^9.21.0",
"typescript": "5.8.2"
"eslint": "^9.21.0"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"solid-js": "^1.9.5"
}
}

View file

@ -1,5 +1,5 @@
{
"extends": "@repo/typescript-config/react-library.json",
"extends": "@repo/typescript-config/solid.json",
"compilerOptions": {
"outDir": "dist"
},