docs/1.2/04-Reference/07-CLI-Command-Reference/01-Database-Service/01-prisma-init.md
prisma initCreates the local file structure for a new Prisma database service. If no --boilerplate option is provided, the command will trigger an interactive prompt allowing you to choose a preconfigured template for your service. There are two major options for such a template:
Minimal setup: database-only: Provides with you with a plain Prisma database serviceGraphQL server/fullstack boilerplate: Bootstraps the foundation for a fully-fledged GraphQL app (backend-only or fullstack) based on GraphQL boilerplatesIn any case, the bootstrapped Prisma service will at minimum contain these files:
prisma.yml contains the service definitiondatamodel.graphql contains the definition of your data model.graphqlconfig is a configuration file following the standardized graphql-config format and is used by various tools, e.g. the GraphQL PlaygroundIf you provide a directory name as an argument to the command, the generated files will be placed inside a new directory with that name.
prisma init DIRNAME [flags]
-b, --boilerplate BOILERPLATE Full URL or repo shorthand (e.g. `owner/repo`) to boilerplate GitHub repository
prisma init
database.prisma init database
node-basic boilerplate in directory called node-app.prisma init node-app --boilerplate node-basic