Migrate exchange backend from Django to Express + Apollo Server + Prisma
All checks were successful
Build Docker Image / build (push) Successful in 1m54s
All checks were successful
Build Docker Image / build (push) Successful in 1m54s
Replace Python/Django/Graphene with TypeScript/Express/Apollo Server. Same 4 endpoints (public/user/team/m2m), same JWT auth. Prisma replaces Django ORM for Offer/Request/SupplierProfile. Temporal and Odoo integrations preserved.
This commit is contained in:
11
src/schemas/user.ts
Normal file
11
src/schemas/user.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export const userTypeDefs = `#graphql
|
||||
type Query {
|
||||
health: String!
|
||||
}
|
||||
`
|
||||
|
||||
export const userResolvers = {
|
||||
Query: {
|
||||
health: () => 'ok',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user