Start by browsing the API Templates Gallery (Web or GitHub) and importing a template pre-configured with the types your app needs and the backends that provide data for those types. Some templates are configured with StepZen keys so you can create and run the GraphQL API right away. For others, you are prompted to provide necessary credentials on import, but then also run the API right away. Through configuration or in a few lines of code, you can easily combine, customize and extend the imported schemas.
Watch this video to learn how to start with templates, quickly connect and link multiple backends, and query all your data at once. This example builds a single API that builds upon location (IP-API), weather (OpenWeatherMap API), and Shopify templates.
Easily Integrate APIs & Data for Jamstack Sites and Apps
One of the beautiful things about Jamstack is that you can build your sites and apps using any number of APIs to serve up static and dynamic data. However, APIs have different authorizations, response protocols, syntax and more. The GraphQL API you build in StepZen is an API of APIs - different backends and ways of connecting to them are made uniform in the context of your GraphQL API.
You don't need to be a GraphQL expert, build a GraphQL server, or understand resolvers. The unified API is easy to set up. You connect your API and database backends through configuration, not code. At runtime, StepZen ensures that API keys and queries are protected when making calls from a browser to retrieve and render data on the client-side. You don't need to write code to parallelize execution, store keys safely, handle caching, and more.
REST APIs and databases are some of the popular backends that you must connect to get the data you need. Unlock the data in these existing sources and deliver experiences faster than ever by GraphQL-enabling any REST API or database. You can do so in just minutes using StepZen's @rest and @dbquery directives, which you write into your GraphQL schema file. A third StepZen directive, @materializer, is used to link types.
Watch this video for 5 Steps to turn a REST API into GraphQL. For more information about how to connect a database backend, see Connect a Database Using @dbquery in the documentation.
Jumpstart Your Projects With Template Schemas
API Templates are pre-built GraphQL schemas configured with popular types, queries, and backends. Designed to be combined, customized, and extended, they jumpstart creating your unified GraphQL API. Check out the Hello World and see how to build a query using the weather report API template.
Explore the API Templates Gallery and start building (Web or GitHub)
Zero Infrastructure! Your GraphQL API is Always On
With a built-in mock service, you can deploy and run your API on StepZen even as you design it, making iteration and testing easy.
You've built your API. What's next? Build a server to host it or run it on StepZen? By running your API on StepZen, you don't worry if backends are down or the response from one has changed. You don't have to make tradeoffs between adding a cache or changing logic and don't have to learn about connection pooling for database requests or myriad other concerns to effectively and efficiently run and maintain your code. You can focus on creating amazing experiences.