Implementing a GraphQL API with a Solid-Start Application
November 26, 2022Walk through a Solid Start todo app backed by a GraphQL API in the same project: schema and resolvers in a graphql route, then createRouteData queries.
Walk through a Solid Start todo app backed by a GraphQL API in the same project: schema and resolvers in a graphql route, then createRouteData queries.
Add a tRPC API to a Solid Start app: define a router with @trpc/server and zod, mount it at a catch-all route, and call it from components with @trpc/client.
Build a todo app in Solid Start with file based routing, a MongoDB and Mongoose model, API routes for the data, and createRouteData to load todos into the page.