Code Monkey home page Code Monkey logo

cre's Introduction

Cannabis/Compliance/Crop Reporting Engine - CRE

This is a simple software solution for collecting and reporting on crops of cannabis or other tightly tracked, regulated products. A simple setup of an event-object-audit-log database, along with the API end-point to collect the necessary details.

The platform is extendable by the regulatory agency/operating company through middleware.

More information is available at https://openthc.com/cre

Global Storage

  • Company
  • License
  • Contact
  • Variety

License Specific Data

  • Section (aka: Area, Room)
  • Inventory Lot
  • Crop
  • B2B Transaction (aka: Manifest, Invoice, Transfer)
  • B2C Transaction (aka: Retail, Dispense)

Actions / Events

  • Crop/Create - Create Crops from Inventory Lot (of type: Plant, Clone or Seed)
  • Crop/Collect/Raw - Collect raw materials from the crop
  • Crop/Collect/Net - Account for net materials Dry/Cured/Trimmed state.
  • Crop/Collect/Lot - Creates Production Inventory Lot
  • Lot/Create
  • Lot/Convert - One or more Source Lots into one Output Lot
  • Lot/Combine
  • Lot/Sample - Remove a Small Portion for Unique Sample (Employee, QA, Vendor, etc)
  • B2B/Create - File the B2B Transaction
  • B2B/Commit - Commit/Send the B2B Transaction
  • B2B/Accept - Accept/Receive the B2B Transaction
  • B2B/Reject - Reject the B2B Transaction

Reporting

  • Realtime Object States
  • Realtime Activity Reports
  • Verbose Logging with complete Object delta
  • Easily extendable via Middleware components

APIs

  • Simple API Interface
  • Direct Write/Update of Objects (Crop, Lot, B2B, B2C)
  • Indirect Update via Actions

Identifiers

  • ULID - https://github.com/ulid/spec
  • No reliance on central authority (BioTrack, METRC, LeafData)
  • No reliance on expensive RFID (METRC)
  • No "Smart" numbers (BioTrack, LeafData)
  • Support for billions of billions of tracked items
    • Usable until 10889 AD
    • 1.21 Giga-Giga (2^80) unique items per millisecond!

Customizing

If you want to add new custom Services, Middleware or other code use the ./Custom directory. All of your custom libraries would be in ./Custom/Service or ./Custom/Middleware. Then you can use them in the ./webroot/front.php script.

cre's People

Contributors

djbusby avatar mashiox avatar thecompanydream avatar

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.