Skip to content

crumley/yoga-prisma-template

Repository files navigation

GraphQL Yoga + Prisma + Codegen + Bun Starter Kit

Opinionated bun template for bootstraping a graphql-yoga server with prisma persistence and codegen graphql types.

Frameworks:

Tools

Getting Started

Install dependencies:

brew install rtx
rtx install bun@latest

Create a new project from the template:

bun create github.com/crumley/yoga-prisma-template ./YOUR_PROJECT

Bun setup

cd YOUR_PROJECT
rtx trust
rtx install
bun install

Database setup

docker compose up -d
bun prisma migrate dev --name init

Running

bun run src/index.ts

Testing

bun test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published