0.1.7 • Published 1 year ago

sefaz-mocked-service v0.1.7

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
1 year ago

SEFAZ MOCKED SERVICES

It's just a simple nodeJs express based webserver to "mock" some Brazilian SEFAZ NF-e/NFC-e services.
The main idea is to return a mocked value simulating a SEFAZ return.
SEFAZ is a government department that authorizes the Brazilian invoice electronic document and other related operations.

Extra configs

You can change the behavior using the .env config file.

Supported Operations

  • Autorizacao
  • Rejeição (Customizável)
  • Denegação
  • Inutilizacao

From npm client

Install

npm install --save sefaz-mocked-service

Creating a app

  • Create a file app.js
  • Add inside de file:
require('sefaz-mocked-service');

Run

node app

App will show:

Sefaz mocked services is runnings at http://localhost:3002

From Source Code

Install

git clone https://github.com/jardelnovaes/sefaz-mocked.git
cd sefaz-mocked
npm install

Run

npm start
0.1.7

1 year ago

0.1.2

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago