Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data market functions need to be implemented. #15

Open
keeganskeate opened this issue Dec 27, 2021 · 0 comments
Open

Data market functions need to be implemented. #15

keeganskeate opened this issue Dec 27, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@keeganskeate
Copy link
Member

Primarily, the API needs to be finished to implement a data market as the logic is already largely implemented in the cannlytics package. So, the JavaScript connecting the API to the user interface needs to be implemented as well as the API endpoints that will use the logic provided by cannlytics.

JavaScript functions to implement:

  • downloadDataset
  • publishDataset
  • sellDataset
  • buyDataset

API endpoints to implement (roughly planned):

  • GET /api/datasets
  • GET, POST, DELETE /api/datasets/{dataset_id}
  • GET, POST, DELETE /api/datasets/state/{state_id}
  • GET, POST, DELETE /api/datasets/state/{state_id}/{dataset_id}
  • POST /api/datasets/publish
  • POST /api/datasets/sell
  • POST /api/datasets/buy
  • GET /api/market

Once implemented, a rigorous testing is needed. Then the data market can be published for beta testing.

@keeganskeate keeganskeate self-assigned this Dec 27, 2021
@keeganskeate keeganskeate added the enhancement New feature or request label Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant