Git Product home page Git Product logo

daptin-schema-samples's Introduction

Daptin schema samples

This git repository contains schemas for a variety of applications which you can install in Daptin. You can create your own repo and use it as a market among your users.

Packages

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

List of packages

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
Pay Via Paypal - mark_as_complete_by_paypal, buy_package - Integrate "Pay via Paypal" to any entity
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
Transactions and Payments sale, payment - - Requirement for the "Pay-via-Paypal" integration to maintain sales and payment information

How to install

  • Copy yaml and provide path to daptin in arguments

New to Daptin ?

Find out more here

Package structure

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"

daptin-schema-samples's People

Contributors

artpar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

adbegon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.