Tip
Questions or issues? Check our discord channel for help.
Note: This repository is an example, which means:
- It's not production ready
- It's not actively maintained by Saleor
- It should be used as a learning resource
Segment app is based on App Template - you can check it here
You can find docs here
If you want to develop single tenant application - use already configured FileAPL
for local development.
If you need to support multiple tenants application or you want to deploy your application - use UpstashAPL
.
To read more about storing auth data, read the APL documentation
Commands build
and dev
would generate schema and typed functions using Saleor's GraphQL endpoint. Commit generated
folder to your repo as they are necessary for queries and keeping track of the schema changes.
Learn more about GraphQL code generation.