Adding Graphback to existing project using Graphback CLI
Graphback CLI can be used to add code generation capabilities to your existing Node.js Server that implements GraphQL API.
Follow the on-screen instructions.
Graphback will do the following:
.graphqlrc.ymlfile with default Graphback plugins
- Initialize an example model file
- Add required packages to your
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.
If you are using a PostgreSQL datasource you can migrate your database to match your schema by running
graphback db. See Database Migrations for more.
Run your application! 🚀