0.1.6 • Published 2 months ago
swium-sdk-js v0.1.6
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
- Interact
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.