{"repo":"MBrunoS/prisma-next-crud-generator","free":true,"listed":false,"github":"https://github.com/MBrunoS/prisma-next-crud-generator","clone":"git clone https://github.com/MBrunoS/prisma-next-crud-generator.git","description":"Generate NextJS CRUD apps from Prisma schema","language":"TypeScript","stars":31,"topics":["code-generation","generator","nextjs","prisma","scaffolding"],"license":null,"category":"dev-tools","readme_excerpt":"Prisma Next CRUD Generator This generator was bootstraped using create-prisma-generator Prisma generator that generates CRUD operations based on your models, using Next.js. Requirements - Minimal Next.js project with Server Actions enabled - Prisma installed and configured - Tailwind CSS Forms plugin - Tailwind Merge for handling class merging How to use it? 1. Install the generator 2. Add the generator to your Prisma schema and add some models Note: id , createdAt , updatedAt and deletedAt fields are ignored by the generator in list pages and form inputs. The id is used in the show and edit pages, supporting Int, BigInt and String types. 3. Run npx prisma generate 4. Run npm run dev 5. Open http://localhost:3000 And you should see something like this: That's it! You can now start playing with the generated app. How to contribute? 1. Clone the repo 2. Enter the generator directory: cd packages/generator 3. Run npm run dev to start the generator in watch mode 4. Open another terminal and enter the example directory: cd packages/usage 5. Run npm run dev to start the example in watch mode 6. Open http://localhost:3000 and start playing with the example 7. Make your changes and run npx prisma generate to test your changes 8. Submit a PR","default_branch":null,"files":null,"tree":[],"storefront":"/r/MBrunoS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MBrunoS/prisma-next-crud-generator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}