Documentation Index
Fetch the complete documentation index at: https://mintlify.com/tailor-platform/sdk/llms.txt
Use this file to discover all available pages before exploring further.
Get started in minutes
This quickstart will guide you through creating, deploying, and querying your first Tailor Platform application. You’ll have a working GraphQL API running in the cloud in under 5 minutes.Prerequisites
Install Node.js
The SDK requires Node.js 22 or later. Install Node.js via your package manager by following the official Node.js instructions.Verify your installation:
Get a Tailor Platform account
You’ll need a Tailor Platform account to deploy your application. Request access here to get started.
Create your first application
Create a new project
Use the create command to scaffold a new project with the This creates a new directory called
hello-world template:my-app with:- A simple “hello” query resolver
- TypeScript configuration
- Database schema with a User type
- All necessary dependencies
Login to Tailor Platform
Authenticate with the Tailor Platform:This will open your browser to complete the authentication flow.
Create a workspace
Every application needs a workspace. Create one with the following command:List your workspaces to get the workspace ID:Alternatively, create a workspace using the Tailor Platform Console.
Available regions:
us-east-1, eu-west-1, ap-northeast-1Query your API
Open GraphQL Playground
After deployment, you’ll receive a GraphQL endpoint URL. Open the GraphQL Playground in your browser.
Understanding the code
Let’s look at what you just deployed. The hello-world template includes:Configuration file
Thetailor.config.ts file defines your application:
tailor.config.ts
Database schema
Thesrc/db/user.ts file defines a User type:
src/db/user.ts
Resolver
Thesrc/resolvers/hello.ts file defines a custom GraphQL query:
src/resolvers/hello.ts
Make your first change
Next steps
Congratulations! You’ve created, deployed, and modified your first Tailor Platform application.Learn about TailorDB
Define complex database schemas with relationships and permissions
Create custom resolvers
Build GraphQL resolvers with business logic and database access
Set up executors
React to events like database changes and webhooks
Explore templates
Check out the inventory-management and testing templates for more examples