0.0.5 • Published 3 years ago

@challengy/api v0.0.5

Weekly downloads
-
License
Private
Repository
github
Last release
3 years ago

Challengy API (Prototype)

Installation

Todo ...

Example of usage

import Challenge from "@challengy/challenges";

const api = new Challenge({idToken: "..."})
api.createChallenge({
  title: 'test title',
  description: 'test description',
  tags: ['tag_1', 'tag_2'],
  pathToMedia: '/path/to/the/media'
}).then((response) => {
  // Response including the object you just created
}).catch((error) => {
  // Error if any
});

Pushing functions to Firebase

To deploy the API functions to firebase, use:

firebase deploy --only functions
0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago