Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simplicitesoftware/javascript-api

Simplicité(R) platform node.js & browser JavaScript API
https://github.com/simplicitesoftware/javascript-api

angularjs javascript low-code nodejs reactjs simplicite vuejs

Last synced: about 2 months ago
JSON representation

Simplicité(R) platform node.js & browser JavaScript API

Awesome Lists containing this project

README

        

![Simplicité Software](https://platform.simplicite.io/logos/logo250-grey.png)
* * *

Author License

Simplicité® node.js® & browser JavaScript API
================================================================

Introduction
------------

This is the node.js® & browser **JavaScript API client module** for the [Simplicité® platform](https://www.simplicitesoftware.com).

Usage
-----

Basic usage is something like:

```javascript
import simplicite from 'simplicite';

const app = simplicite.session({ url: '' });

try {
const user = await app.login({ username: '', password: '' });
console.log('Hello ' + user.login + '!');
const obj = app.getBusinessObject('MyObject');
const list = await obj.search();
// Do something with the search results list
// Etc.
}).catch(err => {
console.error(err.message);
});
```

Check the [GitHub repository](https://github.com/simplicitesoftware/javascript-api) `test/test*.js`
files for other examples of basic usage.

### Documentation

Read the [JSDoc documentation](https://simplicitesoftware.github.io/javascript-api/).

### Demos

For more advanced usage demos, check these repositories:

- **Server-side**:
- [Node.js® demo](https://github.com/simplicitesoftware/nodejs-demo)
- **Client-side**:
- [Plain web demo](https://github.com/simplicitesoftware/web-demo)
- [Vue.js® demo](https://github.com/simplicitesoftware/vue-demo)
- [React® demo](https://github.com/simplicitesoftware/react-demo)
- [Angular® demo](https://github.com/simplicitesoftware/angular-demo)
- **Native**:
- [ReactNative® demo](https://github.com/simplicitesoftware/react-native-demo)
- From within the **Simplicité® generic web UI**:
- [Demo module](https://github.com/simplicitesoftware/module-demo-jslib)

See the [documentation](https://simplicitesoftware.github.io/javascript-api/) for details.

License
-------

Copyright 2014-2024 Simplicité Software

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

[](http://www.apache.org/licenses/LICENSE-2.0)

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.