Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ame-super-app-web

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ame-super-app-web

Biblioteca client para instalação em mini-web-apps da Ame

  • 0.6.0
  • npm
  • Socket score

Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

ame-super-app-web

API de suporte para super-app sites da Ame


Ame-Sua-Conta

Para rodar o ame-sua-conta primeiro vá no repositório do projeto bff-ame-sua-conta e faço o seguinte procedimento:

BFF (bff-ame-sua-conta)

instalar o redis e rodar na porta default

Ou

instalar docker
docker run --name redis -p 6379:6379 -d -t redis:alpine

  • Caso ocorra algum erro como connect ECONNREFUSED durante a execução do comando yarn start, prefira executar o redis localmente.

    https://redis.io/download

criar arquivo .env com o conteúdo

PORT=3001

API_AME_HOST_1=https://api.dev.amedigital.com
API_AME_HOST_2=https://api2.dev.amedigital.com
API_AME_PLUS=https://api.dev.ame.plus

NODE_ENV=test
REDIS_HOST=127.0.0.1
REDIS_SECRET=bff-ame-sua-conta

API_AME_AUTH_USERNAME=878ecfa5-b126-4736-8ff9-1b6decbe6c55
API_AME_AUTH_PASSWORD=bpay@123
API_AME_TOKEN_LOGIN_SUBACCOUNT=ODc4ZWNmYTUtYjEyNi00NzM2LThmZjktMWI2ZGVjYmU2YzU1OmlHSHRsZ0VlNUQ=

PX_CONFIG_APP_ID=PX3bXq2t20
PX_CONFIG_SECRET_KEY=hlNBTDgN0Gi2CiF1fqMfEc1nZdtLv9KtBk2J7VIoT3Ek8OfwgNiXWwIhZ50Um83L
PX_CONFIG_AUTH_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZXMiOlsicmlza19zY29yZSIsInJlc3RfYXBpIl0sImlhdCI6MTU4OTIxOTQ5NSwic3ViIjoiUFgzYlhxMnQyMCIsImp0aSI6ImFjMmI4NmYwLTRhZWEtNDA4MC04MmJhLWU3Y2FhNDQ5MGU2ZSJ9.chDaezxYzD3NI31UURNFVcBr6BirJQOu_43jKNnhPKw

yarn
yarn start

Com o bff-ame-sua-conta rodando vá no repositório do projeto ame-sua-conta e faça o seguinte procedimento:

Front (ame-sua-conta)

No arquivo .env.local, trocar a porta da variável REACT_APP_API_URL de 3000 para 3001

yarn
yarn start


Desenvolvimento da lib ame-super-app-web + ame-sua-conta

Para rodar o ame-sua-conta local, para desenvolvimento da lib ame-super-app-web, será necessário as etapas:

yarn link-ame-sua-conta

Após cada alteração no source da ame-super-app-web, será necessário rodar um:

yarn build-all

Para restaurar o uso da lib ame-super-app-web, será necessário rodar um:

yarn unlink-ame-sua-conta

FAQs

Package last updated on 29 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc