1.4.5 • Published 3 months ago

daju-totvs v1.4.5

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

Code Style Test Package Manager Code Fix

Setup application

  • NodeJs 18:00 ou higher ✅;
  • TypeScript ✅;
  • Node-localstorage To simulate a localStorage in node by json file or any other type ✅;

Tech Stack

NodeJs TypeScript Vitest Axios Zod

How it Works

Clone the repository

https://github.com/DajuLabs/daju-totvs.git

Install the dependencies

npm install

Make a copy of .env.example and rename the copy as .env

sudo cp .env.example .env

YOU NEED TO ADD .ENV IN YOUR ROOT FOLDER PROJECT. THIS PACKAGE USE VARS IN MAIN .ENV

EX: MyProject -> node_modules/daju-totvs -> src -> config.ts -> .env

daju-totvs package gonna use this root .env

Variable values. Visit this link: Env vars 🔗

#enviroment
NODE_ENV=development

#AUTHENTICATION TOTVS
ENDPOINT=replace_this
ENDPOINTTREINO=replace_this

#Credentials Authorization TOTVS
BRANCH=replace_this
AUTH_GRANT_TYPE=replace_this
REFRESH_GRANT_TYPE=replace_this
CLIENT_ID=replace_this
CLIENT_SECRET=replace_this
USERNAME=replace_this
PASSWORD=replace_this

Features

classificationProductUpdate()

Run Tests

npm run test

Run Coverage

npm run teste:coverage

That is it!

1.4.5

3 months ago

1.4.4

3 months ago

1.4.3

3 months ago

1.4.2

3 months ago

1.4.1

3 months ago

1.4.0

3 months ago

1.3.0

3 months ago

1.2.0

6 months ago

1.1.9

6 months ago

1.1.8

6 months ago

1.1.7

6 months ago

1.1.6

6 months ago

1.1.5

6 months ago

1.1.4

6 months ago

1.1.3

6 months ago

1.1.2

6 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.0

6 months ago