Incremental Migration
No cutover night. FraiseQL runs alongside your existing system while you migrate domain by domain. Start with one domain in one day.
Choose your migration path based on what you’re currently using.
Incremental Migration
No cutover night. FraiseQL runs alongside your existing system while you migrate domain by domain. Start with one domain in one day.
From Prisma
Replace your ORM-based approach with a database-first GraphQL API backed by SQL views and PostgreSQL functions.
From Apollo Server
Cut resolver boilerplate and eliminate N+1 queries by mapping GraphQL operations to pre-written SQL views.
From Hasura
Move from auto-generated GraphQL to code-first types with hand-crafted SQL views for precise control.
From REST
Consolidate multiple REST endpoints into a single GraphQL API with exact field selection and subscriptions.
| Feature | Prisma | Apollo | Hasura | REST | FraiseQL |
|---|---|---|---|---|---|
| API Type | ORM | GraphQL | GraphQL | REST | GraphQL |
| Runtime | Node.js | Node.js | Node.js / Haskell | Any | Rust binary |
| Schema source | Prisma Schema Language | GraphQL SDL | DB introspection | Code | Python/TS/Go decorators |
| Reads | ORM .findMany() | Resolver functions | Auto-generated SQL | Route handlers | PostgreSQL views (v_*) |
| Writes | ORM .create() | Resolver functions | Auto-generated SQL | Route handlers | PostgreSQL functions (fn_*) |
| N+1 handling | Manual include | DataLoader (manual) | Auto (limited) | N/A | Eliminated by design |
| Real-time | Polling | Manual PubSub | Event-based | Polling | NATS subscriptions |
| Federation | No | Limited | No | No | Yes |
From Prisma:
From Apollo:
From Hasura:
From REST:
Assess Current Stack
Plan Timeline
Identify Success Metrics
All migrations follow the same five-phase pattern:
Preparation
Build FraiseQL Backend
@fraiseql.type, @fraiseql.input, @fraiseql.query, @fraiseql.mutation decoratorsv_*) for all read operationsfn_*) for all write operationsClient Migration
Deployment
Decommission
Most teams save 20-40% on infrastructure and development costs after migrating:
| Cost Area | Before | After | Savings |
|---|---|---|---|
| Server Costs | $500-1000/month | $200-300/month | 60-70% |
| Development | High (manual resolvers, DataLoader) | Low (SQL views) | 30-50% |
| Database | Manual optimization | Pre-compiled views | Maintained |
| Total | ~$1000/month + time | ~$300/month | ~70% |
Getting Started
New to FraiseQL? Start with the fundamentals.
Schema Concepts
Understand SQL views, types, and decorators.
Performance Guide
Optimize your SQL views for maximum throughput.
Deployment Guide
Deploy FraiseQL to production.