Skip to content

prisma-korea/prisma-generator-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma Generator Proto

Easily generate CMS from your Prisma schema.

Getting Started

Assuming you have an existing project that uses Prisma.

  1. Install @prisma-korea/prisma-generator-proto package.

    npm install @prisma-korea/prisma-generator-proto
  2. Add the generator to your Prisma schema.

    generator proto {
      provider = "prisma-generator-proto"
      output = "../__generated__"
    }
  3. Run Prisma generators.

    npx prisma generate
    # Or if you use yarn
    yarn prisma generate
  4. Start the generated CMS.

    cd __generated__
    npm i
    npm run dev