Coder Social home page Coder Social logo

cannlytics / cannlytics-api Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 178 KB

The interface ๐ŸŒ to the logic of ๐Ÿ”ฅ Cannlytics.

Home Page: https://cannlytics.com

License: MIT License

Shell 1.04% Dockerfile 5.61% Python 93.35%
cannabis cannabis-api api django cannabisapp cannabis-app cannabis-data python metrc

cannlytics-api's Introduction

Cannlytics API

license contributions welcome

The Cannlytics API provides an interface to quickly receive samples, perform analyses, collect and review results, and publish certificates of analysis (CoAs). There are also logistics, CRM (client relationship management), inventory management, and invoicing tools. The Cannlytics API comes with batteries included, but you are always welcome to supercharge your setup with custom modifications.

Installation

Installing the Cannlytics API is simple.

git clone https://github.com/cannlytics.com/cannlytics-api

Development

Running the Cannlytics API locally for development is easy.

python manage.py runserver 4200

or

npm run dev

Note that the API is run on port 4200 to allow for simultaneous development with other pieces of the Cannlytics engine.

Testing

Tests are performed with pytest. You can perform the tests by executing the pytest command from the tests directory.

cd tests
pytest

Publishing

See docs/publishing.md for instructions on how to publish the API. Publishing entails containerizing the API, deploying the container to Cloud Run, and directing hosting requests to the containerized app from Firebase Hosting. You can publish using Node.js with one quick command:

npm run publish

License

This application is released under the MIT license. You can use the code for any purpose, including commercial projects.

license

Made with ๐Ÿ’– by Cannlytics.

cannlytics-api's People

Contributors

keeganskeate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mindthegrow

cannlytics-api's Issues

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.