Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
/ opent-js Public archive
generated from op-ent/template-ts

Client JavaScript officiel pour l'API d'@op-ent. [WIP]

License

Notifications You must be signed in to change notification settings

op-ent/opent-js

Repository files navigation

@op-ent/opent-js

npm version npm downloads Github Actions bundle Codecov MIT License

opent-js est un client javascript pour l'API d'op-ent.

Usage

Ce package n'est pas encore disponible sur NPM.

Développer

Prérequis

Installation & configuration

Exécuter yarn pour installer les dépendances.

Lancement

Exécuter yarn dev pour lancer le serveur de développement.

En développement, il faut passer en paramètre du client une baseUrl différente :

import { createClient } from '@op-ent/opent-js'

const client = createClient({
    accessId: process.env.ACCESS_ID,
    accessToken: process.env.ACCESS_TOKEN,
    baseUrl: 'http://localhost:3333', // <--- URL de l'API en local
})

License

Published under MIT License.

Made with ❤️ by authorName in France.


Sponsors
Netlify banner Cleavr banner

About

Client JavaScript officiel pour l'API d'@op-ent. [WIP]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published