Socket
Socket
Sign inDemoInstall

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 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

dist/tsc/src/version.d.ts

@@ -1,2 +0,2 @@

declare const _default: "1.0.0";
declare const _default: "1.0.1";
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = "1.0.0";
exports.default = "1.0.1";
//# sourceMappingURL=version.js.map
{
"name": "ame-super-app-web",
"version": "1.0.0",
"version": "1.0.1",
"_versionBetaExample": "1.0.2-beta.0",

@@ -5,0 +5,0 @@ "__versionBetaExample": "1.0.2-alpha.0",

# ame-super-app-web
API de suporte para super-app sites da Ame
<br />
# 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
<br />
docker run --name redis -p 6379:6379 -d -t redis:alpine
<br />
<br />
- Caso ocorra algum erro como `connect ECONNREFUSED` durante a execução do comando `yarn start`, prefira executar o redis localmente.
<a><https://redis.io/download></a>
### criar arquivo .env com o conteúdo
```js
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
API_AME_LOGIN=https://iapi.dev.amedigital.com
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
WHITE_LIST_CORS = "https://www.dev.amesuaconta.com.br, http://localhost:8080"
API_MINI_APP_MANAGER_HOST=https://miniapps.dev.amedigital.com/super-app-bff/v1
```
```yarn```
<br/>
```yarn start```
<br />
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```
<br/>
```yarn start```
<br/>
# 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:
```shell
yarn link-ame-sua-conta
```
Após cada *alteração no source* da **ame-super-app-web**, será necessário rodar um:
```shell
yarn build-all
```
Para *restaurar* o uso da lib **ame-super-app-web**, será necessário rodar um:
```shell
yarn unlink-ame-sua-conta
```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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