|
1 |
| -TerminusDB Client Javascript |
2 |
| -========================== |
| 1 | +[][terminusdb-client-js-docs] |
3 | 2 |
|
4 |
| -[](https://discord.gg/yTJKAma) |
5 |
| -[](https://discuss.terminusdb.com/) |
6 |
| -[](https://twitter.com/TerminusDB) |
| 3 | +[terminusdb-client-js-docs]: https://terminusdb.github.io/terminusdb-client-js/ |
7 | 4 |
|
8 |
| -**Development status ⚙️** |
| 5 | +--- |
9 | 6 |
|
10 |
| -[](https://travis-ci.com/terminusdb/terminusdb-client) |
11 |
| -[](https://coveralls.io/repos/github/terminusdb/terminusdb-client/badge.svg?branch=master) |
| 7 | +[](https://discord.gg/yTJKAma) |
| 8 | +[](https://discuss.terminusdb.com/) |
| 9 | +[](https://twitter.com/TerminusDB) |
12 | 10 |
|
13 |
| -**NPM Package status 📦** |
| 11 | +[](https://www.npmjs.com/package/@terminusdb/terminusdb-client) |
| 12 | +[](https://www.npmjs.com/package/@terminusdb/terminusdb-client) |
14 | 13 |
|
15 |
| -[](https://www.npmjs.com/package/@terminusdb/terminusdb-client) |
16 |
| -[](https://www.npmjs.com/package/@terminusdb/terminusdb-client) |
| 14 | +> This repository is for the JavaScript client for TerminusDB and TerminusX. The |
| 15 | +> JavaScript client runs in the browser and on Node.js. |
17 | 16 |
|
18 |
| -Promise based terminus client for the browser and node.js |
| 17 | +[**TerminusDB**][terminusdb] is an [open-source][terminusdb-repo] graph database |
| 18 | +and document store. It allows you to link JSON documents in a powerful knowledge |
| 19 | +graph all through a simple document API. |
| 20 | + |
| 21 | +[terminusdb]: https://terminusdb.com/ |
| 22 | +[terminusdb-docs]: https://terminusdb.com/docs/ |
| 23 | +[terminusdb-repo]: https://github.com/terminusdb/terminusdb |
| 24 | + |
| 25 | +**TerminusX** is a self-service data platform that allows you to build, deploy, |
| 26 | +execute, monitor, and share versioned data products. It is built on TerminusDB. |
| 27 | +TerminusX is in public beta and you can [sign up now][dashboard]. |
| 28 | + |
| 29 | +[dashboard]: https://dashboard.terminusdb.com/ |
19 | 30 |
|
20 | 31 | ## Requirements
|
21 | 32 |
|
@@ -59,7 +70,7 @@ Download the terminusdb-client.min.js file from the /dist directory and save it
|
59 | 70 | This example creates a simple dataProduct, starting to create a database model the schema
|
60 | 71 | and insert a simple document
|
61 | 72 |
|
62 |
| -For the [full Documentation](https://terminusdb.github.io/terminusdb-client-js/) |
| 73 | +For the [full Documentation][terminusdb-client-js-docs] |
63 | 74 |
|
64 | 75 | ```javascript
|
65 | 76 | const TerminusClient = require("@terminusdb/terminusdb-client");
|
@@ -99,7 +110,7 @@ const bankerSchema = [
|
99 | 110 |
|
100 | 111 | async function createDataProduct(){
|
101 | 112 | try{
|
102 |
| - await client.connect() |
| 113 | + |
103 | 114 | await client.createDatabase("banker", {label: "Banker Account",
|
104 | 115 | comment: "Testing", schema: true})
|
105 | 116 | //add the schema documents
|
@@ -144,7 +155,7 @@ const client = new TerminusClient.WOQLClient("http://127.0.0.1:6363/", {
|
144 | 155 |
|
145 | 156 | ## API
|
146 | 157 |
|
147 |
| -The API of the most recent release is documented at: <https://terminusdb.com/docs/v10.0/#/reference/reference-api> |
| 158 | +The TerminusDB API can be found at the [TerminusDB Documentation][terminusdb-docs]. |
148 | 159 |
|
149 | 160 | ## Report Issues
|
150 | 161 |
|
|
0 commit comments