diff --git a/apps/blog/content/blog/rethinking-database-migrations/index.mdx b/apps/blog/content/blog/rethinking-database-migrations/index.mdx index 0743d8796a..43707d72d2 100644 --- a/apps/blog/content/blog/rethinking-database-migrations/index.mdx +++ b/apps/blog/content/blog/rethinking-database-migrations/index.mdx @@ -4,6 +4,7 @@ slug: "rethinking-database-migrations" date: "2026-03-27" authors: - "Mike Hartington" + - "Will Madden" metaTitle: "Rethinking Database Migrations" metaDescription: "Database migrations are brittle and they break when you're most vulnerable; when you're deploying to production. Prisma Next migrations make them explicit, verifiable and safe to retry." metaImagePath: "/rethinking-database-migrations/imgs/meta.png" diff --git a/apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx b/apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx new file mode 100644 index 0000000000..5cd6af5cb6 --- /dev/null +++ b/apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx @@ -0,0 +1,106 @@ +--- +title: "Try Prisma: The Fastest Way to Explore Prisma Examples" +slug: "try-prisma-announcment-Kv6bwRcdjd" +date: "2022-11-25" +authors: + - "Sabin Adams" +metaTitle: "Try Prisma: The Fastest Way to Explore Prisma Examples" +metaDescription: "Announcing: Try Prisma. A CLI utility that allows you to easily set up and try out an example projects using Prisma." +metaImagePath: "/try-prisma-announcment-Kv6bwRcdjd/imgs/meta.png" +heroImagePath: "/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg" +heroImageAlt: "Try Prisma: The Fastest Way to Explore Prisma Examples" +tags: + - "announcement" + - "orm" + +--- + +We are very excited to announce our new CLI utility, `try-prisma`. This tool allows you to easily set up an official Prisma example project from the [prisma-examples](https://github.com/prisma/prisma-examples) repository locally with a single command: `npx try-prisma`. + +## Announcing `try-prisma` + +Here at Prisma, our goal is to make your lives as developers easier. +Today, we are very excited to announce the release of our new tool that does just that: [`try-prisma`](https://github.com/prisma/try-prisma). + +For a while now, we at Prisma have maintained our [prisma-examples](https://github.com/prisma/prisma-examples) repository with up to date, ready-to-go projects using Prisma. The intent for these projects is to allow users to experience what Prisma would be like in their new stack while evaluating technologies. + +The process to set up one of these example projects, however, has been a very manual one, not providing the best developer experience we could provide. +`try-prisma` fixes this by allowing you to run a single command to set up any example project you want to try. + + + +## Embracing hands-on exploration + +As developers, we love to jump in and get our hands dirty when evaluating a new project or set of tools. +With `try-prisma`, going from zero to experimentation is as simple as running a single command: + +```shell +npx try-prisma +``` + +The starter projects available typically include: + +- A fully configured and ready-to-go application in the selected stack +- A detailed README with instructions on how to use the project +- Prisma set up and configured with a starter schema +- A seed script to populate your test database + +These projects allow you to skip the steps where you have to learn how all the little pieces of your stack work together, allowing you to jump right in and begin experimenting. + +## The `prisma-examples` repository + +The `try-prisma` CLI tool gives you easy access to the projects available in the [prisma-examples](https://github.com/prisma/prisma-examples) repository. + +This repository contains an assortment of projects using different technologies that are organized into various folders based on the technologies used. + +A few examples include: + +- [`javascript/graphql`](https://github.com/prisma/prisma-examples/tree/latest/javascript/graphql) +- [`javascript/rest-nextjs`](https://github.com/prisma/prisma-examples/tree/latest/javascript/rest-nextjs) +- [`typescript/rest-nestjs`](https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-nestjs) +- [`typescript/grpc`](https://github.com/prisma/prisma-examples/tree/latest/typescript/grpc) + +## Built on your suggestions + +The [prisma-examples](https://github.com/prisma/prisma-examples) repository is a resource for the community that includes examples of various technologies in use with Prisma. + +![Suggestions for new Prisma examples](/try-prisma-announcment-Kv6bwRcdjd/imgs/suggestions.png) + +We love receiving feedback and encourage you to submit suggestions for new example projects or enhancements for existing projects. + +If you have any technologies you would like to see added to our library of examples or would like to submit a suggestion for an existing project, feel free to use either of the links below: + +- [Suggest a new example](https://pris.ly/prisma-examples-suggestion) +- [Submit feedback for an existing example](https://pris.ly/prisma-examples-feedback) + +Alternatively, you may submit a pull request to the [prisma-examples](https://github.com/prisma/prisma-examples) repository with your own example project or revisions following the [Contribution Guidelines](https://github.com/prisma/prisma-examples/blob/latest/CONTRIBUTING.md). + +These suggestions will be closely monitored and acted upon by the Developer Advocate team here at Prisma. + +## Try it out + +Sound exciting? Give it a try. + +To get started, head over to your terminal and run the following command: + +```shell +npx try-prisma +``` + +You will be walked through a series of questions about which project you would like to use, where it should be installed, and how it should be configured: + +![The try-prisma CLI setup flow](/try-prisma-announcment-Kv6bwRcdjd/imgs/process.gif) + +Open up the new project and head to the README for information on how to start experimenting. + +If you are curious about all of the options available via the CLI, head over to the [`try-prisma` repository](https://github.com/prisma/try-prisma) and check out the README. + + + +If you run into any issues, feel free to leave an issue in the repository's [issues](https://github.com/prisma/try-prisma/issues) tab. + +We hope you'll give `try-prisma` a try and that it improves your experience when testing out new tools. diff --git a/apps/blog/public/authors/sabin-adams.png b/apps/blog/public/authors/sabin-adams.png new file mode 100644 index 0000000000..5005dcab5f Binary files /dev/null and b/apps/blog/public/authors/sabin-adams.png differ diff --git a/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg new file mode 100644 index 0000000000..e219824076 --- /dev/null +++ b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/meta.png b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/meta.png new file mode 100644 index 0000000000..83e99097a1 Binary files /dev/null and b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/meta.png differ diff --git a/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/process.gif b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/process.gif new file mode 100644 index 0000000000..14ed1d58a7 Binary files /dev/null and b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/process.gif differ diff --git a/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/suggestions.png b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/suggestions.png new file mode 100644 index 0000000000..204329b2cf Binary files /dev/null and b/apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/suggestions.png differ diff --git a/apps/blog/src/app/layout.tsx b/apps/blog/src/app/layout.tsx index 784cf4c86b..21ff192907 100644 --- a/apps/blog/src/app/layout.tsx +++ b/apps/blog/src/app/layout.tsx @@ -36,7 +36,7 @@ export default function Layout({ children }: LayoutProps<"/">) { crossOrigin="anonymous" > - +
{children}