Graphback allows you to add a GraphQL API to your application without generating any code. Graphback package can be imported and used directly from your code or serverless handlers. Schema and resolvers are created in-code and are passed to an Apollo GraphQL or GraphQL.js server instance.
Adding runtime layer to your application
To create GraphQL Layer at runtime developers need to initialize
GraphbackRuntime instance as follows:
See our TypeScript Apollo Runtime template for a fully functional example.
To change the default application configuration see Graphback Config.
See Defining your Data model for how to design your data model.
Graphback provides a number of different data sources which can be configured at application runtime. See Data Sources.
You can migrate your database to match your schema by running
graphback db. See Database Migrations for more.*
Run your application! 🚀
NOTE: Database migrations only supports PostgreSQL databases.