Skip to main content

Production-ready full-stack framework

Stop gluing libraries together. Start building your product.

CedarJS is a stable, opinionated full-stack framework that integrates React, GraphQL, and Prisma into a cohesive system. Don't waste weeks on boilerplate—use the foundation trusted for production-grade applications.

Start the Tutorial
$yarn create cedar-app

Start with a cohesive stack and scale without rewrites.

cedar
$ yarn cedar generate service post
✔ Created api/src/services/posts/posts.ts
✔ Created api/src/graphql/posts.sdl.ts
✔ Added types to types/graphql.d.ts
React + GraphQL + PrismaIntegrated by default.
Services = ResolversNo manual wiring.
Production-firstMaintainable by design.

Built for the long haul. Sponsored and used in production by industry leaders.

The Cedar Way: Generators that ship real code.

The CLI captures architecture decisions so you never have to assemble boilerplate by hand. Generate a service, and Cedar produces resolvers, schemas, and type safety in one sweep.

CLI
$ yarn cedar generate service post
✔ Created api/src/services/posts/posts.ts
✔ Created api/src/graphql/posts.sdl.ts
✔ Added types to types/graphql.d.ts
posts.service.ts
import type {
  QueryResolvers,
  MutationResolvers,
  PostRelationResolvers,
} from 'types/graphql'

import { db } from 'src/lib/db'

export const posts: QueryResolvers['posts'] = () => {
  return db.post.findMany()
}

export const createPost: MutationResolvers['createPost'] =
  ({ input }) => {
    return db.post.create({
      data: input,
    })
  }
posts.sdl.ts
export const schema = gql`
  type Post {
    id: Int!
    title: String!
    body: String!
    author: User!
  }

  type Query {
    posts: [Post!]! @skipAuth
  }

  type Mutation {
    createPost(input: CreatePostInput!): Post!
      @requireAuth
  }
`

In Cedar, your business logic lives in Services. They automatically act as your GraphQL resolvers, providing a clean, typesafe bridge between your database and your UI without manual wiring.

Ready to generate your first service?
yarn create cedar-app

The Cedar Edge

Stability over Hype

Build on proven patterns. CedarJS leverages React and GraphQL within a predictable, production-tested architecture that prioritizes long-term maintainability.

Integrated Infrastructure

Auth, Recurring Jobs, and Mailers are first-class citizens—core components designed to work together out of the box.

Production-Ready Observability

Scale with confidence. The Cedar CLI includes dedicated setup commands for OpenTelemetry and Sentry, so monitoring is ready when you are.

Start with the foundation teams trust.
yarn create cedar-app

The Framework for the AI Era.

Because CedarJS uses a strict, predictable directory structure and a standard CLI, AI agents don't have to guess your architecture. They can generate feature-complete services, mailers, and jobs that work perfectly the first time. Cedar isn't just easy for humans to read—it's optimized for the LLMs you use every day.

Start the Tutorial
Predictable StructureStandardized paths every agent can follow.
Typed by DefaultServices emit GraphQL types automatically.
CLI as Source of TruthGenerators produce repeatable outcomes.