0.1.6 • Published 1 year ago

swium-sdk-js v0.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Swium Node.js SDK

Node.js SDK for interacting with swium services and creating add-ons.

Install

npm i swium-sdk-js

Environments

Currently supported environments are

  • Browser
  • Node.js

Features

I left the features that this client can do below

  • Can create add-ons
  • Can interact with backend
    • Interact
      • Uploads
      • Send reports
      • Authentication
      • Registering imports
    • Manage entities
      • User
      • Addon
      • Profile

Tests

There is a coverage of tests that can be run with command

npm run test

Note

An environment variable called BACKEND_STAGE_URL needs to be defined and pointing to the staging or local backend.

Example

BACKEND_STAGE_URL=http://localhost:3000 npm run test

This is necessary because tests use the client and the client needs to connect to the backend.

0.1.4

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago