This legacy repository contains early schema examples for Daptin. For maintained examples, use the examples shipped with the main Daptin repository.
The former PayPal payment packages were removed because they used obsolete provider endpoints and bypassed the current integration, credential, action, and metering authorities. Use the maintained payment checkout example and Payments and Checkout guide.
Packages are smaller set of APIs you can pick and selectively install in Daptin. You can install these at any time after you have setup Daptin. Packages can define one or more of the following:
- Entities
- Name: this defines the endpoint path
- Columns/Fields
- Indexes
- Constraints
- Validations
- Relations
- among different entities
- Actions
- Name: this defines the endpoint path
- In fields: initial set of values/data required to invoke the user
- Outcomes: set of invokations which take place chained one after the other
- State machines
- Name: this defines the endpoint path
- Initial event
- States and events
- Exchanges
- Syncing data with external sources
- Google sheet endpoint
| Schema | Entities | Actions | State machines | Description |
|---|---|---|---|---|
| Blog | blog, post, comment | Leave a comment, Create new post | publish_status | A single-user/multi-user blogging platform |
| Contruction Project Management | construction | - | - | A basic entity designing demo |
| Faq | faq, merchant | - | - | Frequently answered questions platform |
| Store | inventory, sale | new_purchase, return item | - | A demonstrative schema showing how to use scripting in actions effectively |
| Style | style, orders, vendors, cost, style_file | new_order, sync with google sheet | light_states | A multi user designer cloth manufacturing management system |
| Task List | todo, tags, projects | new_task, mark_as_completed, new_project, new_data_exchange | task_status | Multi-user todo and task management platform with tags and projects |
- Copy yaml and provide path to daptin in arguments
Each folder can have the following files:
- JSON: schema files defining entities, actions and others parts
- CSV: to import as a data dump, if referenced by one of the JSON "imports"
- XLS: to import as a data dump, if referenced by one of the JSON "imports"