Skip to content

A pure JavaScript federated networking client/instance framework

License

Notifications You must be signed in to change notification settings

d3vgru/nodetsam

Repository files navigation

nodetsam

A pure JavaScript federated networking client/instance framework.

Requirements

The client and instance code both use yarn to manage modules.

For both reference client and instance dev loopback-cli may be helpful

npm install -g loopback-cli

Client Implementations

Both a plain Vue and Quasar implementation of a client are provided.

Running

First, from the project root

yarn install

Make sure you went to client/reference and ran

yarn install

To start a dev server and launch a dev reference client in a browser

npm run dev

If you first build the client, you can go back to the project root

npm start

Point your browser at http://localhost:3001 which is served by the LoopBack instance. This is useful if you don't plan to do any work on the client side. Note: if you update anything in the common folder, such as the data model or translations, you will need to rebuild the client.

To default to the quasar client when loading http://localhost:3001 edit the files section of server/middleware.json so it looks like

"files": {
  "loopback#static": {
    "params": "$!../client/quasar/dist"
  }
},

Make sure you build the Quasar client first.

Documentation

Please refer to the wiki.

About

A pure JavaScript federated networking client/instance framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published