1.4.5 • Published 2 years ago
daju-totvs v1.4.5
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
How it Works
Clone the repository
https://github.com/DajuLabs/daju-totvs.gitInstall the dependencies
npm installMake a copy of .env.example and rename the copy as .env
sudo cp .env.example .envYOU 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_thisFeatures
classificationProductUpdate()
Run Tests
npm run testRun Coverage
npm run teste:coverageThat is it!
1.4.5
2 years ago
1.4.4
2 years ago
1.4.3
2 years ago
1.4.2
2 years ago
1.4.1
2 years ago
1.4.0
2 years ago
1.3.0
2 years ago
1.2.0
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago