However, Graphcool is different from the above because it is language-agnostic. In contrast to all the above frameworks, you're not implementing your actual web server in a specific language. Instead, you're specifying a data model using the GraphQL SDL. Based on this data model, Graphcool will generate a GraphQL API for you that provides CRUD operations for every model type.
Business logic and any other kind of functionality is then implemented using serverless functions or webhooks. This provides a huge amount of flexibility and allows for a wide range of programming languages to be used!
Graphcool uses the GraphQL SDL to generate the core GraphQL API for you. This API contains CRUD operations for your data model. Business logic and any other kind of functionality is then implemented using serverless functions or webhooks.
If you're using webhooks to implement your business logic and other functionality, you're free to choose whatever technology stack and programming language you like as long as it can be invoked via HTTP.
Graphcool is a backend development framework and as such a lot more powerful and flexible than conventional BaaS. On the other hand, the hosted version of Graphcool comes close to what's commonly understood under the term BaaS and offers the same level of convenience for frontend and mobile developers!
The main differences between Graphcool and conventional BaaS are the following:
The main commonalities with conventional BaaS and the hosted version of Graphcool are the following:
When using Graphcool, you can choose either of two versions:
When choosing the self-hosted version, you need to take care of the backend infrastructure and deployment (using Docker) yourself. In the future, it is planned to make Graphcool more flexible so you can also plug-in your own database - right now only AWS Aurora and MySQL are supported.
Was this page helpful?