1.0.10 • Published 3 years ago

atlas-gateway-test v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Atlas Framework

This framework serves as a gateway between the ATLAS solution and the front-end application.

What is this repository for?

With this framework, users are able to connect to the Atlas aplication, allowing them to:

  • Authenticate
  • Perform CRUD operations:
    • Get
    • Post
    • Put
    • Delete
  • Create new repositories with it's own classes and atributes.

You can set it with NPM up using:

npm install atlas-gateway-test

and requiring it in your project's configuration:

const atlas = require('atlas-gateway-test');
Vue.prototype.$atlas = atlas;

Now you can connect to the Atlas app using this.$atlas

Authentication

In order to authenticate to the Atlas application, you simply need to call it in your login form

this.$atlas.auth({url, username, password});

This adds a user token and the tenantId to the headers 'ATLAS-AUTH-TOKEN' and 'ATLAS-TENANT-NAME' respectively.

If no url is provived, the default https://atlas.linkconsulting.com/rest/login is used.

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact
1.0.10

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago