diff --git a/README.md b/README.md index 1eb0524..80f0805 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,26 @@ Para consumir la api de forma exterior que valida y/o consulta cedula o ruc. npm i cors --save ``` -### Modulo control de origenes +## Documentación +### Swagger +aun no implementada. + +### configuracion +rquisitos previos para desplegar revisar el archivo de configuracion: Proyecto/src/config.js +ouerto configurado previamente es 3001 puesde cambiarlo en config.js +http://localhost:3001/ + +### Postman +`APP-SIGMA` también pone a disposición de los usuarios una colección de llamadas y ejemplos que se encuentra en la ruta **/src/data/.postman_collection.json**. + + +### Uso de Icono y funetes. los iconos se usado son de font awesome buscar iconos (https://fontawesome.com/search) ## Autores -| .[![](https://avatars.githubusercontent.com/u/27124364?s=96&v=4)]([https://github.com/telcotronics](https://github.com/telcotronics)). +| [![](https://avatars.githubusercontent.com/u/27124364?s=96&v=4)]([https://github.com/telcotronics](https://github.com/telcotronics)) |-| -| .[@Telcotronics](https://github.com/telcotronics). | \ No newline at end of file +| [@Telcotronics](https://github.com/telcotronics) | \ No newline at end of file diff --git a/src/data/APP_SIGMA_NODE.postman_collection.json b/src/data/APP_SIGMA_NODE.postman_collection.json new file mode 100644 index 0000000..f29067c --- /dev/null +++ b/src/data/APP_SIGMA_NODE.postman_collection.json @@ -0,0 +1,153 @@ +{ + "info": { + "_postman_id": "1710a3ae-fba9-4526-8084-a066897ddadd", + "name": "APP_SIGMA_NODE", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "11858928" + }, + "item": [ + { + "name": "APP_SIGMA", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "" + } + }, + "response": [] + }, + { + "name": "actualiza image item", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://localhost:4000/actualizaImgItem?json_img=TEH00419A1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "4000", + "path": [ + "actualizaImgItem" + ], + "query": [ + { + "key": "json_img", + "value": "TEH00419A1" + } + ] + } + }, + "response": [] + }, + { + "name": "consulta precios", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://localhost:8080/consultaItemsPrecios?consulta=cama&gp_precio=VENTAS_WEB", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8080", + "path": [ + "consultaItemsPrecios" + ], + "query": [ + { + "key": "consulta", + "value": "cama" + }, + { + "key": "gp_precio", + "value": "VENTAS_WEB" + } + ] + } + }, + "response": [] + }, + { + "name": "consulta grupo de precios", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://192.168.10.100:8080/gp_precios", + "protocol": "http", + "host": [ + "192", + "168", + "10", + "100" + ], + "port": "8080", + "path": [ + "gp_precios" + ] + } + }, + "response": [] + }, + { + "name": "buscar cliente SRI", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "localhost:3001/busquedaSRI?ruc=1722237896001", + "host": [ + "localhost" + ], + "port": "3001", + "path": [ + "busquedaSRI" + ], + "query": [ + { + "key": "ruc", + "value": "1722237896001" + } + ] + } + }, + "response": [] + }, + { + "name": "buscar cliente en sri-online", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "https://sri-en-linea.com/ruc/1722237896001", + "protocol": "https", + "host": [ + "sri-en-linea", + "com" + ], + "path": [ + "ruc", + "1722237896001" + ] + } + }, + "response": [] + } + ] +} \ No newline at end of file