CLI offers help prompt.
graphback in your shell for more information
graphback init <project-name>
The command will guide you through a series of questions - choosing a template, bootstrapping model - and setup your project for you.
You can also provide the template name as argument which will skip the template selection part.
graphback init <project-name> [template-name]
Generate command will generate schema and resolvers for your GraphQL server based on your data model.
Create databases resources based on your data model. Currently supports PostgreSQL and sqlite3.
Note - Running
graphback dbdrops your database and recreates it with tables and relationships.
Create configuration in existing project to support Graphback resolver and schema generation.
Note When creating configuration please review if locations created for
filesintegration match your project folder structure
Generate GraphQL schema and resolvers based on OpenAPI spec