This is the demo project that shows how to connect and interact with the web extension in the 3cplus V2
- Node.js
- na pasta
demo-sdk
instalar as dependências:$ npm install
- no arquivo
demo-sdk/main.js
altere os valorescerts/client.key
ecerts/client.crt
com o caminho para seus certificados ssl. - no arquivo
demo-sdk/requests.js
alterar valor da variavelapi_url
para a url da API do sistema. - no arquivo
demo-sdk/index.html
altere as url com "localhost" caso necessário. - inicie o server com
$ node main.js
. e acesse odemo-sdk/index.html
no navegador.