fbpx
by: Muhammad Talha
-
November 30, 2022
This tool allows you to easily set up an official Prisma example project from the prisma-examples repository locally with a single command: npx try-prisma

Try-prisma

Here at Prisma, this makes your lives as developers easier. Today, we are very excited to see the release of a new tool that does just that: try-prisma. For a while now, Prisma has maintained a 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 an 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:
npx try-prisma
The starter projects available 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 is 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.

About the prisma repository:

The prisma-examples repository is a resource for the community that includes examples of various technologies in use with Prisma.

Try it out!

Are you ready to try this? Let’s get a try! To get started, head over to your terminal and run the following command:
npx try-prisma
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 and check out the README. If you run into any issues, feel free to leave an issue in the repository’s issues tab. So now give a try-prisma a try and it improves your experience when testing out new tools! Happy Coding!
Share Article:

Leave a Reply