Initialize new projects using templates

Initialize new projects using templates

You can now bootstrap new projects with the Grafbase CLI using an existing schema template, or your own via GitHub with the newly added --template flag.

If you're using one of the Grafbase schema templates you can just pass the name of the template:

npx grafbase init --template blog

If you have a project that's on GitHub, you can also provide the URL:

npx grafbase init --template https://github.com/grafbase/grafbase/tree/main/templates/blog

We'd love to hear your feedback and ideas, so join us on Discord.