apiease-template
apiease-template is the starter repository that apiease-cli uses when you run apiease init.
GitHub repository: kevinstl-org/apiease-template
It is the recommended foundation for APIEase development because it gives you:
- a predictable repository layout for requests, widgets, variables, and functions
- starter JSON definitions you can adapt instead of inventing resource shapes from scratch
- template-owned guidance files for humans and coding agents
- a structure that works with
apiease-cliupgrades and the APIEase Public API
Most teams should start from the template through apiease-cli instead of cloning the template repository directly.
What ships in the template
The current template includes:
apiease.config.jsas the source of truth for resource directory namesresources/requests,resources/widgets,resources/variables, andresources/functionsas the canonical resource folders.gitkeepfiles in each resource directory so the structure is committed even before you add project-specific definitions- starter example JSON files under
docs/examples/resources - template guidance in
README.md,AGENTS.md,docs/shared-ongoing-ai-guidance.md, anddocs/knowledgebase/apiEaseDocsConsolidated.md - user-owned customization files in
CUSTOM_README.mdandCUSTOM_AGENT_GUIDANCE.md
The example resources are intentionally lightweight. Use them as reference material or copy them into your working resource directories as you start defining your project.
Expected repository layout
This is the shape the template establishes today:
your-project/
.apiease/
project.json
apiease.config.js
resources/
requests/
widgets/
variables/
functions/
docs/
examples/
resources/
requests/
widgets/
variables/
functions/
knowledgebase/
apiEaseDocsConsolidated.md
shared-ongoing-ai-guidance.md
README.md
AGENTS.md
CUSTOM_README.md
CUSTOM_AGENT_GUIDANCE.md
Important details:
apiease.config.jscurrently setsresourcesas the root resource directory and defines the four resource subdirectories explicitly.apiease/project.jsonis written byapiease initand stores the template version plus the template-managed file manifest used byapiease upgrade- the bundled examples live under
docs/examples/resources, but the configured long-term project layout is theresources/*tree
What belongs in source control
In a real project repository created from the template, commit:
apiease.config.js.apiease/project.json- your JSON resource definitions under
resources/* - any starter examples you choose to keep or adapt
- project documentation in
CUSTOM_README.md - project-specific agent instructions in
CUSTOM_AGENT_GUIDANCE.md
Keeping these files in git gives you a versioned record of your saved APIEase configuration and preserves the metadata that apiease upgrade uses to apply safe template updates later.
Template-managed and customer-owned files
apiease-cli treats most copied template files as template-managed. That means they are tracked in .apiease/project.json and may be refreshed by apiease upgrade when the template changes.
Two files are explicitly customer-owned:
CUSTOM_README.mdCUSTOM_AGENT_GUIDANCE.md
Those files are copied into the project, but they are excluded from the stored template manifest so upgrade operations do not treat them as template-managed content.
This split is the intended customization model:
- keep template defaults and shared guidance in the template-owned files
- keep project-specific decisions in the two custom files
Intended developer workflow
The template is designed for a repository-first workflow:
- initialize a repository with
apiease init - configure APIEase authentication for the environment you want to target
- create or adapt JSON resource definitions in your project
- version those definitions and the project metadata in git
- use apiease-cli to create, read, update, or delete the saved resources in APIEase
- use the APIEase Public API directly only when you need a lower-level integration than the CLI
- run
apiease upgradelater to adopt safe template updates without overwriting project-owned work
The template does not replace the core APIEase documentation. It gives you a repository structure that makes those concepts easier to manage as code. For request behavior and request contracts, use the existing docs:
- Requests Overview
- Request Types Overview
- Request Parameters Overview
- Triggers Overview
- Widgets Overview
- Functions
- Variables
Why the template is the recommended start
Starting from the template keeps the human workflow and the AI-agent workflow aligned:
- the repository structure is explicit instead of ad hoc
- the CLI and upgrade flow understand where the project came from
- resource definitions can be reviewed and versioned like code
- agents can rely on bundled guidance and the local APIEase knowledge base instead of reconstructing platform behavior from scratch
That is why the template is the preferred starting point even if your end goal is to automate APIEase through the CLI or the public API.