The VTEX IO platform allows developers to create unique commerce experiences using Web technologies. It’s possible to create frontend blocks for Store Framework, backend services exposing REST or GraphQL APIs, and combine a series of VTEX modules into a complete solution, packaging it into an app.
As VTEX IO powers big ecommerce operations, they require running code on a server. Services are how we run Node.js or .NET code on VTEX IO infrastructure, backed by API abstractions to improve developer experience.
By the end of this tutorial, you will be able to export routes, handle events, and connect with internal and external applications, in order to make your application even better and make the most of VTEX's infrastructure.
A Service must be exported from a VTEX IO app, just like themes or store blocks, using
dotnet builders. With these, you are able to develop a REST API without having to set up a server, GraphQL APIs and routes.
Services in VTEX IO support one-command rollbacks and continuous integration. They can export internal and external routes and run on top of Kubernetes. You can count on VTEX IO to manage the scalability of your services.
/node folder of a service is a
service.json file, where it's possible to declare routes that the service must respond to and other configurations like timeout and memory.
During this course, you will implement some services in VTEX IO and learn more about the possibilities they offer to your development.
- Getting started with the boilerplate
- Handling and receiving events
- Using the Analytics client
- Using events as triggers
- Using the Master Data client
- GraphQL: Retrieving data from Master Data
- Using GraphiQL
Before you start
Make sure you check the technical requirements to complete this project: